Debian Codegraph @

texk/dvi2tty/dvi2tty-src/debian/rules

raw
1 #!/usr/bin/make -f
2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4
5 # Uncomment this to turn on verbose mode.
6 #export DH_VERBOSE=1
7
8 # This is the debhelper compatability version to use.
9 export DH_COMPAT=1
10
11 build: build-stamp
12 build-stamp:
13 dh_testdir
14
15
16 # Add here commands to compile the package.
17 $(MAKE)
18
19 touch build-stamp
20
21 clean:
22 dh_testdir
23 dh_testroot
24 rm -f build-stamp
25
26 # Add here commands to clean up after the build process.
27 -$(MAKE) clean
28
29 dh_clean
30
31 install: build
32 dh_testdir
33 dh_testroot
34 dh_clean -k
35 dh_installdirs
36
37 # Add here commands to install the package into debian/tmp.
38 # $(MAKE) install DESTDIR=`pwd`/debian/tmp
39 install -o root -g root -m 755 dvi2tty disdvi `pwd`/debian/tmp/usr/bin
40 install -o root -g root -m 644 dvi2tty.1 disdvi.1 `pwd`/debian/tmp/usr/share/man/man1
41
42 touch install-stamp
43
44 # Build architecture-independent files here.
45 binary-indep: build install
46 # We have nothing to do by default.
47
48 # Build architecture-dependent files here.
49 binary-arch: build install
50 # dh_testversion
51 dh_testdir
52 dh_testroot
53 # dh_installdebconf
54 dh_installdocs
55 dh_installexamples
56 # dh_installmenu
57 # dh_installemacsen
58 # dh_installpam
59 # dh_installinit
60 # dh_installcron
61 dh_installmanpages
62 dh_installinfo
63 # dh_undocumented
64 dh_installchangelogs
65 dh_link
66 dh_strip
67 dh_compress
68 dh_fixperms
69 # You may want to make some executables suid here.
70 dh_suidregister
71 # dh_makeshlibs
72 dh_installdeb
73 # dh_perl
74 dh_shlibdeps
75 dh_gencontrol
76 dh_md5sums
77 dh_builddeb
78
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install