summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-12-04 16:46:01 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-12-04 16:46:01 +0000
commit2998c8bf7d7fa3cbd4f08f7cbe0d353d940e92aa (patch)
treef98151797bc156fd6fdc33e87afdca5565ca3381 /debian/rules
parentAdding bin. (diff)
downloadroot-shell-2998c8bf7d7fa3cbd4f08f7cbe0d353d940e92aa.tar.xz
root-shell-2998c8bf7d7fa3cbd4f08f7cbe0d353d940e92aa.zip
Adding debian version 20211204-1.debian/20211204-1
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f2a01c2
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+PACKAGE := open-infrastructure-container-tools
+
+%:
+ dh ${@}
+
+override_dh_auto_build:
+ # disabled
+
+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