1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/packages/ubuntu-feisty/userinstall/debian/rules Sun Aug 26 19:24:44 2007 +0200
1.3 @@ -0,0 +1,51 @@
1.4 +#!/usr/bin/make -f
1.5 +
1.6 +# Uncomment this to turn on verbose mode.
1.7 +#export DH_VERBOSE=1
1.8 +
1.9 +export DH_COMPAT=5
1.10 +
1.11 +build: build-stamp
1.12 +
1.13 +build-stamp:
1.14 + touch $@
1.15 +
1.16 +clean:
1.17 + dh_testdir
1.18 + dh_testroot
1.19 + rm -f *-stamp
1.20 + dh_clean
1.21 +
1.22 +install: build install-prereq install-scripts
1.23 + # Script fixing would appear here.
1.24 +
1.25 +install-prereq:
1.26 + dh_testdir
1.27 + dh_testroot
1.28 + dh_clean -k
1.29 +
1.30 +install-scripts:
1.31 + mkdir -p $(CURDIR)/usr/bin
1.32 + mkdir -p $(CURDIR)/etc/defaults
1.33 + install user-* $(CURDIR)/usr/bin
1.34 + install userinstall-defaults $(CURDIR)/etc/defaults/userinstall
1.35 +
1.36 +# Build architecture-independent files here.
1.37 +
1.38 +binary-indep: install
1.39 + dh_testdir -i
1.40 + dh_testroot -i
1.41 + dh_installdocs -i
1.42 + dh_fixperms -i
1.43 + dh_installdeb -i
1.44 + dh_gencontrol -i
1.45 + dh_md5sums -i
1.46 + dh_builddeb -i
1.47 +
1.48 +# Build architecture-dependent files here.
1.49 +
1.50 +binary-arch:
1.51 + # Empty rule for this package.
1.52 +
1.53 +binary: binary-indep binary-arch
1.54 +.PHONY: build clean binary-arch binary-indep binary install