diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/rules | 8 | ||||
-rwxr-xr-x | examples/rules.indep | 8 | ||||
-rwxr-xr-x | examples/rules.multi | 8 | ||||
-rwxr-xr-x | examples/rules.multi2 | 5 |
4 files changed, 13 insertions, 16 deletions
diff --git a/examples/rules b/examples/rules index a59c98cf..19b5777a 100755 --- a/examples/rules +++ b/examples/rules @@ -6,7 +6,7 @@ #export DH_VERBOSE=1 # This is the debhelper compatibility version to use. -export DH_COMPAT=1 +export DH_COMPAT=2 build: build-stamp build-stamp: @@ -34,8 +34,8 @@ install: build dh_clean -k dh_installdirs - # Add here commands to install the package into debian/tmp. - #$(MAKE) prefix=`pwd`/debian/tmp/usr install + # Add here commands to install the package into debian/<packagename> + #$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install # Build architecture-independent files here. binary-indep: build install @@ -43,7 +43,7 @@ binary-indep: build install # Build architecture-dependent files here. binary-arch: build install -# dh_testversion + dh_testversion 2 dh_testdir dh_testroot # dh_installdebconf diff --git a/examples/rules.indep b/examples/rules.indep index 694b53ae..0c3e6e15 100755 --- a/examples/rules.indep +++ b/examples/rules.indep @@ -8,7 +8,7 @@ #export DH_VERBOSE=1 # This is the debhelper compatibility version to use. -export DH_COMPAT=1 +export DH_COMPAT=2 build: build-stamp build-stamp: @@ -36,12 +36,12 @@ install: build dh_clean -k dh_installdirs - # Add here commands to install the package into debian/tmp. - #$(MAKE) prefix=`pwd`/debian/tmp/usr install + # Add here commands to install the package into debian/<packagename>. + #$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install # Build architecture-independent files here. binary-indep: build install -# dh_testversion + dh_testversion 2 dh_testdir dh_testroot # dh_installdebconf diff --git a/examples/rules.multi b/examples/rules.multi index 8c79626d..3ac7a030 100755 --- a/examples/rules.multi +++ b/examples/rules.multi @@ -10,7 +10,7 @@ #export DH_VERBOSE=1 # This is the debhelper compatibility version to use. -export DH_COMPAT=1 +export DH_COMPAT=2 # This has to be exported to make some magic below work. export DH_OPTIONS @@ -51,8 +51,7 @@ install: build # Pass -i to all debhelper commands in this target to reduce clutter. binary-indep: DH_OPTIONS=-i binary-indep: build install - # Need this version of debhelper for DH_OPTIONS to work. - dh_testversion 1.1.17 + dh_testversion 2 dh_testdir dh_testroot # dh_installdebconf @@ -84,8 +83,7 @@ binary-indep: build install # Pass -a to all debhelper commands in this target to reduce clutter. binary-arch: DH_OPTIONS=-a binary-arch: build install - # Need this version of debhelper for DH_OPTIONS to work. - dh_testversion 1.1.17 + dh_testversion 2 dh_testdir dh_testroot # dh_installdebconf diff --git a/examples/rules.multi2 b/examples/rules.multi2 index 3dbc0f52..0af60eea 100755 --- a/examples/rules.multi2 +++ b/examples/rules.multi2 @@ -9,7 +9,7 @@ #export DH_VERBOSE=1 # This is the debhelper compatibility version to use. -export DH_COMPAT=1 +export DH_COMPAT=2 # This has to be exported to make some magic below work. export DH_OPTIONS @@ -51,8 +51,7 @@ install: build # affect _all_ packages. Anything you want to only affect one package # should be put in another target, such as the install target. binary-common: - # Need this version of debhelper for DH_OPTIONS to work. - dh_testversion 1.1.17 + dh_testversion 2 dh_testdir dh_testroot # dh_installdebconf |