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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
#!/usr/bin/make -f
# Made with the iad of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Also some stuff taken from debmake scripts, by Cristopt Lameter.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
build-stamp:
dh_testdir
$(MAKE) linux-x
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
-$(MAKE) really_clean
dh_clean
# Build architecture-independent files here.
binary-indep: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
dh_installdocs -pvis5d-doc
dh_installexamples -pvis5d-doc
dh_installchangelogs -pvis5d-doc
dh_compress -pvis5d-doc
dh_fixperms -pvis5d-doc
dh_installdeb -pvis5d-doc
dh_gencontrol -pvis5d-doc
dh_md5sums -pvis5d-doc
dh_builddeb -pvis5d-doc
# Build architecture-dependent files here.
binary-arch: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
install gg3d gr3d_to_v5d igg3d igu3d comp_to_v5d topoinfo v5dappend v5dedit v5dinfo v5dstats `pwd`/debian/tmp/usr/bin
install v5dimport vis5d `pwd`/debian/tmp/usr/bin
install -m 644 *.tcl `pwd`/debian/tmp/usr/lib/vis5d
install -m 644 EARTH.TOPO OUTLSUPW OUTLUSAM `pwd`/debian/tmp/usr/lib/vis5d
install userfuncs/example userfuncs/probe userfuncs/spd3d `pwd`/debian/tmp/usr/lib/vis5d/userfuncs
install -m 644 userfuncs/example.f userfuncs/probe.f userfuncs/spd3d.f `pwd`/debian/tmp/usr/lib/vis5d/userfuncs
dh_installdocs -pvis5d
dh_installexamples -pvis5d
dh_installmenu -pvis5d
dh_installmanpages -pvis5d
dh_undocumented gg3d.1 gr3d_to_v5d.1 igg3d.1 igu3d.1 comp_to_v5d.1 topoinfo.1 v5dappend.1 v5dedit.1 v5dimport.1 v5dinfo.1 v5dstats.1 vis5d.1
dh_installchangelogs
dh_strip -pvis5d
dh_compress -pvis5d
dh_fixperms -pvis5d
dh_suidregister -pvis5d
dh_installdeb -pvis5d
dh_shlibdeps -pvis5d
dh_gencontrol -pvis5d
dh_md5sums -pvis5d
dh_builddeb -pvis5d
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
|