summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-04-11 14:24:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-04-11 14:24:08 +0000
commit54bdbae00503d614fbf6f9b64f606c40ab3b1d70 (patch)
treea564029a0e4d4a89c9adb431e0903867cf17f623
parentRefreshing debconf translation files. (diff)
downloadopen-infrastructure-compute-tools-54bdbae00503d614fbf6f9b64f606c40ab3b1d70.tar.xz
open-infrastructure-compute-tools-54bdbae00503d614fbf6f9b64f606c40ab3b1d70.zip
Improving variable usage to shorten strings in rules.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index b9261a6..f2a01c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
-PACKAGE := container-tools
+PACKAGE := open-infrastructure-container-tools
%:
dh ${@}
@@ -9,13 +9,13 @@ override_dh_auto_build:
# disabled
override_dh_auto_install:
- dh_auto_install -- DESTDIR=$(CURDIR)/debian/open-infrastructure-$(PACKAGE)
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/$(PACKAGE)
execute_after_dh_auto_install:
- rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/*/CHANGELOG.txt
- rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/*/LICENSE.txt
+ rm -f debian/$(PACKAGE)/usr/share/doc/*/CHANGELOG.txt
+ rm -f debian/$(PACKAGE)/usr/share/doc/*/LICENSE.txt
- mv debian/open-infrastructure-$(PACKAGE)/usr/share/doc/* debian/open-infrastructure-$(PACKAGE)/usr/share/doc/open-infrastructure-$(PACKAGE)
+ 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