summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-01-05 19:22:29 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-01-05 19:22:29 (GMT)
commit10bf1718430a5321c48c23ada0c6f827c1b36f86 (patch)
tree3ac7c453072623a1e91f4ad47787fea9d24da1ee /debian/rules
parentc2ca0aff971999821b23faa5db42e1ea0f81c2ca (diff)
added initial packaging
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..00fe9d3
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+%:
+ dh $@ --with=systemd
+
+override_dh_auto_configure:
+
+override_dh_auto_build:
+ $(MAKE) build
+
+override_dh_auto_clean:
+ $(MAKE) distclean
+
+override_dh_auto_install:
+ install -d $$(pwd)/debian/tmp/usr/bin/
+ install -m 755 $$(pwd)/bin/rhimportd $$(pwd)/debian/tmp/usr/bin/
+ install -d $$(pwd)/debian/tmp/etc/
+ install -m 644 $$(pwd)/debian/rhimportd.conf $$(pwd)/debian/tmp/etc/