Package list unrtf / eaacdba
d/rules: Switch to minimal dh-based version, compat level 9 Willi Mann 8 years ago
3 changed file(s) with 4 addition(s) and 98 deletion(s). Raw diff Collapse all Expand all
11 Section: text
22 Priority: optional
33 Maintainer: Christian Surchi <csurchi@debian.org>
4 Build-Depends: debhelper (>> 3.0.0)
4 Build-Depends: debhelper (>> 9.0.0)
55 Standards-Version: 3.6.1
66
77 Package: unrtf
00 #!/usr/bin/make -f
1 # Sample debian/rules that uses debhelper.
2 # GNU copyright 1997 to 1999 by Joey Hess.
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 # This is the debhelper compatibility version to use.
8 export DH_COMPAT=3
9
10 # These are used for cross-compiling and for saving the configure script
11 # from having to guess our platform (since we know it already)
12 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
13 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
14
15 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
16 CFLAGS += -g
17 endif
18 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
19 INSTALL_PROGRAM += -s
20 endif
21
22 configure: configure-stamp
23 configure-stamp:
24 dh_testdir
25 # Add here commands to configure the package.
26
27
28 touch configure-stamp
29
30 build: build-stamp
31
32 build-stamp: configure-stamp
33 dh_testdir
34
35 # Add here commands to compile the package.
36 $(MAKE)
37 #/usr/bin/docbook-to-man debian/unrtf.sgml > unrtf.1
38
39 touch build-stamp
40
41 clean:
42 dh_testdir
43 dh_testroot
44 rm -f build-stamp configure-stamp
45
46 # Add here commands to clean up after the build process.
47 -$(MAKE) clean
48
49 dh_clean
50
51 install: build
52 dh_testdir
53 dh_testroot
54 dh_clean -k
55 dh_installdirs
56
57 # Add here commands to install the package into debian/unrtf.
58 $(MAKE) install DESTDIR=$(CURDIR)/debian/unrtf
59
60
61 # Build architecture-independent files here.
62 binary-indep: build install
63 # We have nothing to do by default.
64
65 # Build architecture-dependent files here.
66 binary-arch: build install
67 dh_testdir
68 dh_testroot
69 # dh_installdebconf
70 dh_installdocs
71 install -m644 doc/unrtf.html `pwd`/debian/unrtf/usr/share/doc/unrtf
72 # dh_installexamples
73 # dh_installmenu
74 # dh_installlogrotate
75 # dh_installemacsen
76 # dh_installpam
77 dh_installmime
78 # dh_installinit
79 # dh_installcron
80 dh_installman unrtf.1
81 # dh_installinfo
82 # dh_undocumented
83 dh_installchangelogs CHANGES
84 dh_link
85 dh_strip
86 dh_compress usr/share/doc/unrtf/test/sizes.rtf usr/share/doc/unrtf/test/super.rtf usr/share/doc/unrtf/test/toggle.rtf
87 dh_fixperms
88 # dh_makeshlibs
89 dh_installdeb
90 # dh_perl
91 dh_shlibdeps
92 dh_gencontrol
93 dh_md5sums
94 dh_builddeb
95
96 binary: binary-indep binary-arch
97 .PHONY: build clean binary-indep binary-arch binary install configure
1 %:
2 dh $@