File debian.rules of Package TfReg
#!/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
# This is the debhelper compatibility version to use.
export DH_COMPAT=7
export DH_VERBOSE=1
build: build-stamp
build-stamp:
make tfreg
# make mesoscopic-potentials
clean:
rm -f build-stamp
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
dh_install tfreg /usr/bin
# dh_install mesoscopic-potentials /usr/bin
dh_install examples /usr/share/tfreg
dh_install data /usr/share/tfreg
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs doc/tfreg-user-manual.pdf gpl-3.0.txt
dh_installexamples
dh_installmenu
dh_installcron
# dh_installman
# dh_installinfo
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary install