0068e4cab5a9b696137f426b7eeebc36c815d598
[fmtools.git] / debian / rules
blob0068e4cab5a9b696137f426b7eeebc36c815d598
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # Modified for fmtools by Ben Pfaff.
4 # This file is public domain software, originally written by Joey Hess.
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
9 build: build-stamp
10 build-stamp:
11 dh_testdir
13 $(MAKE)
15 touch build-stamp
17 clean:
18 dh_testdir
19 dh_testroot
20 rm -f build-stamp
22 # Add here commands to clean up after the build process.
23 -$(MAKE) clean
25 dh_clean
27 install: build
28 dh_testdir
29 dh_testroot
30 dh_clean -k
31 dh_installdirs usr/bin
32 install -s fm fmscan debian/fmtools/usr/bin
34 # Build architecture-independent files here.
35 binary-indep: build install
36 # We have nothing to do by default.
38 # Build architecture-dependent files here.
39 binary-arch: build install
40 dh_testdir
41 dh_testroot
42 dh_installdocs README
43 dh_installexamples
44 dh_installmenu
45 dh_installcron
46 dh_installman fm.1 fmscan.1
47 dh_installinfo
48 dh_installchangelogs CHANGES
49 dh_link
50 dh_strip
51 dh_compress
52 dh_fixperms
53 dh_installdeb
54 dh_shlibdeps
55 dh_gencontrol
56 dh_md5sums
57 dh_builddeb
59 binary: binary-indep binary-arch
60 .PHONY: build clean binary-indep binary-arch binary install