1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Udebs have no postrm file, don't make one
export DH_OPTIONS=-n
build:
dh_testdir
clean:
dh_testdir
dh_testroot
rm -f debian/files~
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
dh_installdebconf
dh_installdeb
dh_gencontrol
dh_builddeb
# (The package implementation is platform independant, but will only work
# on platforms with arcboot available. Thus it is built in target
# 'binary-indep', and target 'binary-arch' is just an alias.)
binary-arch: build install binary-indep
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
|