summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2025-01-26 18:47:14 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2025-01-26 18:57:30 +0000
commitedfdf25c2a022dfc0a5c1ca7a2520d3b38ca937f (patch)
treefc2ce4bfc8c10a47dfc4685b3a4fc7d1a54e6309 /debian/rules
parentReleasing version 20240829. (diff)
downloadcompute-tools-edfdf25c2a022dfc0a5c1ca7a2520d3b38ca937f.tar.xz
compute-tools-edfdf25c2a022dfc0a5c1ca7a2520d3b38ca937f.zip
DEBIAN (WIP)
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a57b55e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+PACKAGE := open-infrastructure-compute-tools
+
+%:
+ dh ${@}
+
+override_dh_auto_build:
+ # disabled
+
+override_dh_auto_test:
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/$(PACKAGE)
+
+execute_after_dh_auto_install:
+ rm -f debian/$(PACKAGE)/usr/share/doc/*/CHANGELOG.txt
+ rm -f debian/$(PACKAGE)/usr/share/doc/*/LICENSE.txt
+
+ mv debian/$(PACKAGE)/usr/share/doc/* debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
+
+override_dh_installsystemd:
+ dh_installsystemd --no-restart-after-upgrade --no-start --no-stop-on-upgrade