summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7519cd9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+DIR := debian/uncron
+
+%:
+ dh $@ --with quilt
+
+override_dh_auto_build:
+ dune build --profile static
+
+override_dh_auto_install:
+ mkdir -p $(DIR)/usr/bin
+ cp _build/default/src/uncron.exe $(DIR)/usr/bin/uncron
+ cp src/uncron-add $(DIR)/usr/bin/uncron-add
+ mkdir -p $(DIR)/usr/lib/systemd/system
+ cp data/uncron.service $(DIR)/usr/lib/systemd/system/uncron.service
+
+override_dh_auto_test:
+ echo "No tests yet"