Codebase list pnm2ppa / cbeeb83
Rewrite debian/rules using tiny dh7 style. - Bump debhelper compat to 7. - Bump Build-Dependency on debhelper to >= 7.0.50~. - Use pnm2ppa.docs, remove redundant files in debian/rules. - Update pnm2ppa.{install,manpages}. Didier Raboud 12 years ago
6 changed file(s) with 34 addition(s) and 99 deletion(s). Raw diff Collapse all Expand all
22 Priority: optional
33 Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
44 Uploaders: Didier Raboud <odyx@debian.org>
5 Build-Depends: debhelper (>= 4.2.32)
5 Build-Depends: debhelper (>= 7.0.50~)
66 Standards-Version: 3.7.2
77
88 Package: pnm2ppa
0 README.security
1 docs/en/CREDITS
2 docs/en/README
3 docs/en/RELEASE-NOTES
4 docs/en/TODO
5 docs/en
6 docs/pl
0 usr/bin/calibrate_ppa
1 usr/bin/pnm2ppa
20 debian/share/pnm2ppa-magicfilter.in usr/share/pnm2ppa
31 debian/share/update-magicfilter usr/share/pnm2ppa
4 pnm2ppa.conf usr/share/pnm2ppa
5 README.security usr/share/doc/pnm2ppa
6 docs/en/CREDITS usr/share/doc/pnm2ppa
7 docs/en/README usr/share/doc/pnm2ppa
8 docs/en/RELEASE-NOTES usr/share/doc/pnm2ppa
9 docs/en/TODO usr/share/doc/pnm2ppa
10 docs/en/CALIBRATION.html usr/share/doc/pnm2ppa/en
11 docs/en/CALIBRATION.txt usr/share/doc/pnm2ppa/en
12 docs/en/COLOR.html usr/share/doc/pnm2ppa/en
13 docs/en/COLOR.txt usr/share/doc/pnm2ppa/en
14 docs/en/PPA_networking-1.html usr/share/doc/pnm2ppa/en
15 docs/en/PPA_networking-2.html usr/share/doc/pnm2ppa/en
16 docs/en/PPA_networking-3.html usr/share/doc/pnm2ppa/en
17 docs/en/PPA_networking-4.html usr/share/doc/pnm2ppa/en
18 docs/en/PPA_networking.html usr/share/doc/pnm2ppa/en
19 docs/en/PPA_networking.txt usr/share/doc/pnm2ppa/en
20 docs/en/sgml/ usr/share/doc/pnm2ppa/en
21 docs/pl/AUTORZY usr/share/doc/pnm2ppa/pl
22 docs/pl/CZYTAJ.TO usr/share/doc/pnm2ppa/pl
23 docs/pl/KALIBRACJA usr/share/doc/pnm2ppa/pl
24 docs/pl/text-pl.h usr/share/doc/pnm2ppa/pl
00 debian/calibrate_ppa.8
1 debian/tmp/usr/share/man/man1/pnm2ppa.1
00 #!/usr/bin/make -f
1 # Sample debian/rules that uses debhelper.
2 # GNU copyright 1997 by Joey Hess.
3 #
4 # This version is for a hypothetical package that builds an
5 # architecture-dependant package, as well as an architecture-independent
6 # package.
7
8 # Uncomment this to turn on verbose mode.
91 #export DH_VERBOSE=1
102
113 CFLAGS=-DLANG_EN -O2 -Wall
12 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
13 CFLAGS += -g
14 endif
15 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
16 INSTALL_PROGRAM += -s
17 endif
184
19 configure: configure-stamp
20 configure-stamp:
21 dh_testdir
22 touch configure-stamp
5 %:
6 dh $@ --parallel --builddirectory=build/
237
24 build-arch: configure-stamp build-arch-stamp
25 build-arch-stamp:
26 dh_testdir
8 override_dh_auto_install:
9 dh_auto_install --builddirectory=build/
10 # Move the configuration file from /etc to /usr/share
11 mv debian/pnm2ppa/etc/pnm2ppa.conf debian/pnm2ppa/usr/share/pnm2ppa/
2712
28 # Add here command to compile/build the package.
29 cd $(BUILD_TREE) && $(MAKE)
13 override_dh_installdocs:
14 dh_installdocs
15 # Remove useless or redundant files
16 cd debian/pnm2ppa/usr/share/doc/pnm2ppa/;\
17 rm en/CREDITS;\
18 rm en/INSTALL.BEOS;\
19 rm en/INSTALL.CALDERA;\
20 rm en/INSTALL.MANDRAKE*;\
21 rm en/INSTALL.REDHAT*;\
22 rm en/INSTALL.SOLARIS;\
23 rm en/INSTALL.SUSE;\
24 rm en/INSTALL;\
25 rm en/LICENSE;\
26 rm en/README;\
27 rm en/RELEASE-NOTES;\
28 rm en/TODO;\
29 rm en/pnm2ppa.1;\
30 rm pl/INSTALACJA;\
31 rm pl/INSTALACJA.SUSE
3032
31 touch build-arch-stamp
32
33 build: build-arch
34
35 clean:
36 dh_testdir
37 dh_testroot
38 -rm -f build-arch-stamp configure-stamp
39
40 # clean up generated control files
41 -rm -f debian/pnm2ppa.install debian/pnm2ppa.examples
42
43 dh_clean
44
45 install: DH_OPTIONS=
46 install: build
47 dh_testdir
48 dh_testroot
49 dh_clean -k
50
51 # Add here commands to install the package into debian/pnm2ppa.
52 cd $(BUILD_TREE) && \
53 $(MAKE) -e install \
54 BINDIR=$(CURDIR)/debian/tmp/usr/bin \
55 CONFDIR=$(CURDIR)/debian/tmp/etc \
56 MANDIR=$(CURDIR)/debian/tmp/usr/share/man/man1
57
58 # Build architecture-dependent files here.
59 binary-arch: build install
60 dh_testdir -a
61 dh_testroot -a
62 dh_installdebconf -a
63 dh_installdirs -a
64 dh_install -a
65 dh_installdocs -a
66 dh_installexamples -a
67 dh_installman -a
68 dh_installchangelogs -a
69 dh_strip -a
70 dh_link -a
71 dh_compress -a
72 dh_fixperms -a -Xupdate-magicfilter
73 dh_installdeb -a
74 dh_shlibdeps -a
75 dh_gencontrol -a
76 dh_md5sums -a
77 dh_builddeb -a
78
79 binary: binary-arch
80 .PHONY: build clean binary-arch binary install configure