Codebase list xfonts-marumoji / 5f5ee9c
Update d/rules, use dh Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Nobuhiro Iwamatsu 3 years ago
1 changed file(s) with 4 addition(s) and 68 deletion(s). Raw diff Collapse all Expand all
66 # Uncomment this to turn on verbose mode.
77 #export DH_VERBOSE=1
88
9 %:
10 dh $@
911
10 build: build-arch build-indep
11 build-arch: build-stamp
12 build-indep: build-stamp
13 build: build-stamp
14 build-stamp:
15 dh_testdir
16 # Add here commands to compile the package.
17 $(MAKE) GZIP="-9n"
18 touch build-stamp
19
20 clean:
21 dh_testdir
22 dh_testroot
23 rm -f build-stamp install-stamp
24
25 # Add here commands to clean up after the build process.
26 $(MAKE) clean
27
28 dh_clean
29
30 install: install-stamp
31 install-stamp: build-stamp
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.
12 override_dh_install:
3813 $(MAKE) install DESTDIR=`pwd`/debian/xfonts-marumoji
3914
4015 install -m 644 debian/xfonts-marumoji.alias \
4419 gunzip < $$i | sed -e 's/iso88859-1/iso8859-1/' >> \
4520 `pwd`/debian/xfonts-marumoji/etc/X11/fonts/misc/xfonts-marumoji.alias; \
4621 done
47 touch install-stamp
4822
49 # Build architecture-independent files here.
50 # binary-indep: build install
51 # We have nothing to do by default.
52
53 # Build architecture-dependent files here.
54 # binary-arch: build install
55 binary-indep: build install
56 # dh_testversion
57 dh_testdir
58 dh_testroot
59 dh_installdocs
60 dh_installxfonts
61 # dh_installexamples
62 # dh_installmenu
63 # dh_installemacsen
64 # dh_installinit
65 # dh_installcron
66 # dh_installmanpages
67 # dh_undocumented
68 dh_installchangelogs
69 dh_link
70 dh_strip
71 dh_compress
72 dh_fixperms
73 # You may want to make some executables suid here
74 #dh_suidregister
75 # dh_makeshlibs
76 dh_installdeb
77 # dh_perl
78 dh_shlibdeps
79 dh_gencontrol
80 dh_md5sums
81 dh_builddeb
82
83 source diff:
84 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
85
86 binary: binary-indep binary-arch
87 .PHONY: build clean binary-indep binary-arch binary
23 dh_install