summaryrefslogtreecommitdiff
path: root/examples/rules.multi
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rules.multi')
-rwxr-xr-xexamples/rules.multi63
1 files changed, 31 insertions, 32 deletions
diff --git a/examples/rules.multi b/examples/rules.multi
index 7329437a..fe7c20a7 100755
--- a/examples/rules.multi
+++ b/examples/rules.multi
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess.
+#
# This version is for a hypothetical package that builds an
# architecture-dependant package, as well as an architecture-independent
# package.
@@ -7,9 +9,6 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatability version to use.
-export DH_COMPAT=1
-
build: build-stamp
build-stamp:
dh_testdir
@@ -22,7 +21,7 @@ build-stamp:
clean:
dh_testdir
dh_testroot
- rm -f build-stamp install-stamp
+ rm -f build-stamp
# Add here commands to clean up after the build process.
#-$(MAKE) clean
@@ -30,8 +29,8 @@ clean:
dh_clean
-install: install-stamp
-install-stamp: build-stamp
+install:
+install: build
dh_testdir
dh_testroot
dh_clean -k
@@ -40,68 +39,68 @@ install-stamp: build-stamp
# Add here commands to install the package into debian/tmp.
#$(MAKE) prefix=`pwd`/debian/tmp/usr install
- dh_movefiles
- touch install-stamp
+ dh_install
# Build architecture-independent files here.
binary-indep: build install
-# dh_testversion
dh_testdir -i
dh_testroot -i
+ dh_installchangelogs -i
dh_installdocs -i
dh_installexamples -i
- dh_installmenu -i
+# dh_installmenu -i
+# dh_installdebconf -i
+# dh_installlogrotate -i
# dh_installemacsen -i
+# dh_installcatalogs -i
# dh_installpam -i
+# dh_installmime -i
# dh_installinit -i
- dh_installcron -i
-# dh_installmanpages -i
- dh_installinfo -i
-# dh_undocumented
- dh_installchangelogs -i
+# dh_installcron -i
+# dh_installinfo -i
+# dh_undocumented -i
+ dh_installman -i
dh_link -i
dh_compress -i
dh_fixperms -i
- # You may want to make some executables suid here.
- dh_suidregister -i
- dh_installdeb -i
# dh_perl -i
+# dh_python -i
+ dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build install
-# dh_testversion
dh_testdir -a
dh_testroot -a
+ dh_installchangelogs -a
dh_installdocs -a
dh_installexamples -a
dh_installmenu -a
+# dh_installdebconf -a
+# dh_installlogrotate -a
# dh_installemacsen -a
+# dh_installcatalogs -a
# dh_installpam -a
+# dh_installmime -a
# dh_installinit -a
- dh_installcron -a
- dh_installmanpages -a
- dh_installinfo -a
-# dh_undocumented
- dh_installchangelogs -a
+# dh_installcron -a
+# dh_installinfo -a
+# dh_undocumented -a
+ dh_installman -a
dh_strip -a
dh_link -a
dh_compress -a
dh_fixperms -a
- # You may want to make some executables suid here.
- dh_suidregister -a
- dh_installdeb -a
-# dh_makeshlibs -a
# dh_perl -a
+# dh_python -a
+# dh_makeshlibs -a
+ dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install