diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-04-11 14:24:08 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-04-11 14:24:08 +0000 |
commit | 54bdbae00503d614fbf6f9b64f606c40ab3b1d70 (patch) | |
tree | a564029a0e4d4a89c9adb431e0903867cf17f623 | |
parent | Refreshing debconf translation files. (diff) | |
download | open-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-x | debian/rules | 10 |
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 |