[SCM] templates for different package types branch, master, updated. 245f1bef910a712e176cd98fb55fe11dd3266a30
Miriam Ruiz
miriam at debian.org
Sat Feb 28 15:51:19 UTC 2009
The following commit has been merged in the master branch:
commit 245f1bef910a712e176cd98fb55fe11dd3266a30
Author: Miriam Ruiz <miriam at debian.org>
Date: Sat Feb 28 16:55:48 2009 +0100
Fix error in dh_buildpackage invocation when dh-buildpackage is not installed
diff --git a/model/autotools-lib/rules b/model/autotools-lib/rules
index 7a154ec..449e370 100644
--- a/model/autotools-lib/rules
+++ b/model/autotools-lib/rules
@@ -92,7 +92,7 @@ binary-arch: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/autotools/rules b/model/autotools/rules
index d5b76f4..af38d67 100644
--- a/model/autotools/rules
+++ b/model/autotools/rules
@@ -83,7 +83,7 @@ binary-arch: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/c-lib/rules b/model/c-lib/rules
index 1f55cfc..6cd4ef7 100755
--- a/model/c-lib/rules
+++ b/model/c-lib/rules
@@ -61,7 +61,7 @@ binary-arch: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/cmake-lib/rules b/model/cmake-lib/rules
index 28e83d5..657cd4e 100644
--- a/model/cmake-lib/rules
+++ b/model/cmake-lib/rules
@@ -71,7 +71,7 @@ binary-arch: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/cmake/rules b/model/cmake/rules
index d64c7ad..39496a5 100644
--- a/model/cmake/rules
+++ b/model/cmake/rules
@@ -71,7 +71,7 @@ binary-arch: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/makefile/rules b/model/makefile/rules
index 964735f..64751a2 100644
--- a/model/makefile/rules
+++ b/model/makefile/rules
@@ -61,7 +61,7 @@ binary-arch: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/pymodule/rules b/model/pymodule/rules
index 103e1ef..321f25f 100644
--- a/model/pymodule/rules
+++ b/model/pymodule/rules
@@ -64,7 +64,7 @@ binary-arch: build install
dh_pysupport
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/python/rules b/model/python/rules
index 98f325d..ac7bdd7 100644
--- a/model/python/rules
+++ b/model/python/rules
@@ -56,7 +56,7 @@ binary-indep: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/model/scons/rules b/model/scons/rules
index 9c5140c..8084a56 100644
--- a/model/scons/rules
+++ b/model/scons/rules
@@ -64,7 +64,7 @@ binary-arch: install
dh_fixperms
# dh_perl
# dh_makeshlibs
- test -e /usr/bin/dh_buildinfo && dh_buildinfo
+ [ ! -e /usr/bin/dh_buildinfo ] || dh_buildinfo
dh_installdeb
dh_shlibdeps
dh_gencontrol
--
templates for different package types
More information about the Pkg-games-commits
mailing list