diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-08-01 14:56:30 -0400 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2024-08-01 14:56:30 -0400 |
commit | 61e9cf0755e65b656b83f4378896bce451a8091a (patch) | |
tree | cc398526fed6f2308406c729b5cccfb195b76b07 /debian/rules | |
parent | 82bb974201c00a2ceb0f8b817059a5cbde8083ed (diff) | |
download | uncron-61e9cf0755e65b656b83f4378896bce451a8091a.tar.gz uncron-61e9cf0755e65b656b83f4378896bce451a8091a.zip |
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 19 |
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" |