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 41 42 43 44
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
dh_testdir
./configure --prefix=/usr
touch build-stamp
clean:
dh_testdir
rm -f build-stamp
# Don't execute $(MAKE) distclean as it removes the prebuilt doco
rm -f config.log config.status
find . -name Makefile -exec rm -f {} ';'
dh_clean
# Build architecture-dependent files here.
# Nothing to do here for this package.
binary-arch: build
# Build architecture-independent files here.
binary-indep: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=`pwd`/debian/geda-doc
# Delete cruft from the installed tree
find debian/geda-doc -name images.out -size 0c -exec rm -f {} ';'
dh_installdocs
dh_installchangelogs
dh_strip
dh_compress -X.pdf -X.ps -X.pdf
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
|