/[debconf]/trunk/src/debconf/debian/rules
ViewVC logotype

Contents of /trunk/src/debconf/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2067 - (show annotations) (download)
Fri Jul 28 20:42:53 2006 UTC (6 years, 9 months ago) by joeyh
File size: 2574 byte(s)
  * Since lintian is being insanely strict about changelog formats now,
    I had to remove the comment at the end of the stripped down changelog
    that tells where to get the full changelog.
1 #!/usr/bin/make -f
2
3 # Ensure that builds are self-hosting, which means I have to use the .pm
4 # files in this package, not any that may be on the system.
5 export PERL5LIB=.
6
7 build: build-stamp
8 build-stamp:
9 dh_testdir
10 $(MAKE)
11 touch build-stamp
12
13 clean:
14 dh_testdir
15 dh_testroot
16 rm -f build-stamp
17 $(MAKE) clean
18 # This will guarantee that PO files are always synced with templates
19 debconf-updatepo
20 dh_clean debian/debconf.changelog
21
22 binary-indep:
23 binary-indep: build
24 dh_testdir
25 dh_testroot
26 dh_clean -k
27
28 $(MAKE) prefix=`pwd`/debian/debconf-utils install-utils
29 $(MAKE) prefix=`pwd`/debian/debconf-i18n install-i18n
30 $(MAKE) prefix=`pwd`/debian/debconf install-rest
31
32 # Link doc dirs where appropriate.
33 for p in debconf-utils debconf-i18n debconf-english; do \
34 dh_link -p $$p usr/share/doc/debconf usr/share/doc/$$p; \
35 done
36
37 # Don't modify postrm, I purge differently than normal packages
38 # using me
39 dh_installdebconf -n
40
41 dh_installdocs
42 dh_installdirs etc/apt/apt.conf.d/ /etc/bash_completion.d/
43 cp debian/apt.conf debian/debconf/etc/apt/apt.conf.d/70debconf
44 cp bash_completion debian/debconf/etc/bash_completion.d/debconf
45 dh_installman doc/man/gen/dpkg-*configure.8 \
46 doc/man/gen/debconf-show.1 doc/man/gen/debconf-copydb.1 \
47 doc/man/gen/debconf.1 doc/man/gen/debconf-communicate.1 \
48 doc/man/gen/debconf-set-selections.1 \
49 doc/man/gen/debconf-apt-progress.1 \
50 doc/man/gen/debconf-escape.1
51 dh_installman -p debconf-i18n doc/man/gen/dpkg-*.*.8 \
52 doc/man/gen/debconf-show*.*.1 doc/man/gen/debconf-copydb*.*.1 \
53 doc/man/gen/debconf.*.1 doc/man/gen/debconf-communicate.*.1 \
54 doc/man/gen/debconf-set-selections.*.1 \
55 doc/man/gen/debconf-apt-progress.*.1 \
56 doc/man/gen/debconf-escape.*.1
57 dh_installman -p debconf-doc doc/man/confmodule*.3 doc/man/debconf*.7 \
58 doc/man/debconf.conf*.5 doc/man/gen/Debconf::Client::ConfModule*
59 dh_installman -p debconf-utils `find doc/man/gen/debconf-* | grep -v debconf-show | grep -v debconf-copydb | grep -v debconf-set-selections | grep -v debconf-communicate | grep -v debconf-apt-progress | grep -v debconf-escape`
60 dh_installexamples -pdebconf-doc samples/*
61
62 # Changelog reduction hack for debconf. Only include top 100 entries.
63 perl -ne '$$c++ if /^debconf /; last if $$c > 100 ; print $$_' \
64 < debian/changelog > debian/debconf.changelog
65
66 dh_python
67 dh_installchangelogs
68 dh_compress -X demo.templates -X tutorial.templates
69 dh_fixperms
70 dh_installdeb
71 dh_gencontrol
72 dh_md5sums
73 dh_builddeb
74
75 binary-arch:
76
77 binary: binary-indep binary-arch
78 .PHONY: build clean binary-indep binary-arch binary

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5