summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-05-09 14:42:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-05-09 14:42:40 +0000
commit9216f9f7705918a4a294f2823df0c4c1225ec9b7 (patch)
tree6fb351a453729e97a78f2f2ff538ff62b18abdc2
parentRemoving superfluous --parallel when invoking debhelper as it's the default w... (diff)
downloadopen-infrastructure-compute-tools-9216f9f7705918a4a294f2823df0c4c1225ec9b7.tar.xz
open-infrastructure-compute-tools-9216f9f7705918a4a294f2823df0c4c1225ec9b7.zip
Generalizing rules file.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules8
1 files changed, 5 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 34dfc2c..34d682c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+PACKAGE := container-tools
+
%:
dh ${@} --with systemd
@@ -9,10 +11,10 @@ override_dh_auto_build:
override_dh_auto_install:
dh_auto_install
- rm -f debian/open-infrastructure-container-tools/usr/share/doc/container-tools/CHANGELOG.txt
- rm -f debian/open-infrastructure-container-tools/usr/share/doc/container-tools/LICENSE.txt
+ rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/$(PACKAGE)/CHANGELOG.txt
+ rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/$(PACKAGE)/LICENSE.txt
- mv debian/open-infrastructure-container-tools/usr/share/doc/container-tools debian/open-infrastructure-container-tools/usr/share/doc/open-infrastructure-container-tools
+ mv debian/open-infrastructure-$(PACKAGE)/usr/share/doc/$(PACKAGE) debian/open-infrastructure-$(PACKAGE)/usr/share/doc/open-infrastructure-$(PACKAGE)
override_dh_systemd_start:
# disabled