summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 04:50:15 +0000
committerjoey <joey>1999-08-17 04:50:15 +0000
commit2508377c60059fc5012d1c2304dafa12afaa0b8f (patch)
tree5e759e698f371f3376a0f3493be6d6c6be53259d /examples
parent5bf9f168207cb323b53bfb46964ec56032f7abeb (diff)
downloaddebhelper-2508377c60059fc5012d1c2304dafa12afaa0b8f.tar.gz
r80: Initial Import
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/rules22
-rwxr-xr-xexamples/rules.indep22
-rwxr-xr-xexamples/rules.multi26
3 files changed, 45 insertions, 25 deletions
diff --git a/examples/rules b/examples/rules
index 7fbd9d99..631e5cb7 100755
--- a/examples/rules
+++ b/examples/rules
@@ -16,28 +16,36 @@ build-stamp:
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
+ rm -f build-stamp install-stamp
# Add here commands to clean up after the build process.
+ #-$(MAKE) clean
#-$(MAKE) distclean
dh_clean
+install: install-stamp
+install-stamp: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+
+ # Add here commands to install the package into debian/tmp.
+ #$(MAKE) prefix=`pwd`/debian/tmp/usr install
+
+ touch install-stamp
+
# Build architecture-independent files here.
-binary-indep: build
+binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
-binary-arch: build
+binary-arch: build install
# dh_testversion
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
-
- # Add here commands to install the files into debian/tmp
- #$(MAKE) prefix=`pwd`/debian/tmp install
-
dh_installdocs
dh_installexamples
dh_installmenu
diff --git a/examples/rules.indep b/examples/rules.indep
index 7ba839ad..08ce4b62 100755
--- a/examples/rules.indep
+++ b/examples/rules.indep
@@ -17,24 +17,32 @@ build-stamp:
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
+ rm -f build-stamp install-stamp
# Add here commands to clean up after the build process.
+ #-$(MAKE) clean
#-$(MAKE) distclean
dh_clean
+install: install-stamp
+install-stamp: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+
+ # Add here commands to install the package into debian/tmp.
+ #$(MAKE) prefix=`pwd`/debian/tmp/usr install
+
+ touch install-stamp
+
# Build architecture-independent files here.
-binary-indep: build
+binary-indep: build install
# dh_testversion
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
-
- # Add here commands to install the files into debian/tmp
- #$(MAKE) prefix=`pwd`/debian/tmp install
-
dh_installdocs
dh_installexamples
dh_installmenu
@@ -52,7 +60,7 @@ binary-indep: build
dh_builddeb
# Build architecture-dependent files here.
-binary-arch: build
+binary-arch: build install
# We have nothing to do by default.
source diff:
diff --git a/examples/rules.multi b/examples/rules.multi
index 33a1a4ac..92e2e830 100755
--- a/examples/rules.multi
+++ b/examples/rules.multi
@@ -19,24 +19,32 @@ build-stamp:
clean:
dh_testdir
dh_testroot
- rm -f build-stamp
+ rm -f build-stamp install-stamp
# Add here commands to clean up after the build process.
+ #-$(MAKE) clean
#-$(MAKE) distclean
dh_clean
+install: install-stamp
+install-stamp: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+
+ # Add here commands to install the package into debian/tmp.
+ #$(MAKE) prefix=`pwd`/debian/tmp/usr install
+
+ touch install-stamp
+
# Build architecture-independent files here.
-binary-indep: build
+binary-indep: build install
# dh_testversion
dh_testdir -i
dh_testroot -i
dh_clean -i -k
dh_installdirs -i
-
- # Add here commands to install the files into debian/tmp
- #$(MAKE) prefix=`pwd`/debian/tmp install
-
dh_movefiles -i
dh_installdocs -i
dh_installexamples -i
@@ -55,16 +63,12 @@ binary-indep: build
dh_builddeb -i
# Build architecture-dependent files here.
-binary-arch: build
+binary-arch: build install
# dh_testversion
dh_testdir -a
dh_testroot -a
dh_clean -a -k
dh_installdirs -a
-
- # Add here commands to install the files into debian/tmp
- #$(MAKE) prefix=`pwd`/debian/tmp install
-
dh_movefiles -a
dh_installdocs -a
dh_installexamples -a