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

Contents of /debconf-trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (hide annotations) (download)
Thu Feb 10 03:52:29 2000 UTC (13 years, 3 months ago) by joey
File size: 1668 byte(s)
   * Add templates file, config script, postinst, and posrtm to debconf-tiny,
     so debconf/priority actually exists. This is necessary so base-config
     can change the priority if the boot-floppies were installed in verbose or
     quiet mode. This is a critical bugfix, as it fixes a bug that made newly
     installed systems unusable.
   * Added dpkg-preconfigure to debconf-tiny, since this:
     a) lets debconf-tiny use debconf's postinst unchanged
     b) is useful in general to have in debconf-tiny
   * Several k of bloat. Oh well..
1 joey 53 #!/usr/bin/make -f
2 joey 256 # debian/rules that uses debhelper. GNU copyright 1999 by Joey Hess.
3 joey 53
4     # Uncomment this to turn on verbose mode.
5     #export DH_VERBOSE=1
6    
7 joey 136 fixlinks:
8 joey 328 ln -sf templates debian/debconf-tiny.templates
9     ln -sf config debian/debconf-tiny.config
10     ln -sf postinst debian/debconf-tiny.postinst
11     ln -sf postrm debian/debconf-tiny.postrm
12 joey 136
13 joey 328 build: fixlinks
14 joey 182 $(MAKE)
15 joey 53 dh_testdir
16    
17     clean:
18     dh_testdir
19     dh_testroot
20 joey 139 $(MAKE) clean
21 joey 53 dh_clean
22    
23 joey 182 install: build
24 joey 53 dh_testdir
25     dh_testroot
26     dh_clean -k
27     dh_installdirs
28 joey 90 $(MAKE) prefix=debian/tmp install
29 joey 245 $(MAKE) prefix=debian/debconf-tiny tiny-install
30 joey 53
31     # Build architecture-independent files here.
32 joey 182 binary-indep: install
33 joey 138 # Make sure debhelper is going to install the config and templates.
34     dh_testversion 2.0.49
35 joey 53 dh_testdir
36     dh_testroot
37 joey 168 # Don't modify postrm, I purge differently than normal packages
38     # using me.
39     dh_installdebconf -n
40 joey 188 dh_installdocs doc/CREDITS doc/*.txt doc/*.html \
41 joey 275 doc/spec/*.txt doc/spec/*.html \
42 joey 231 README TODO
43 joey 246 dh_installexamples samples/*
44 joey 53 dh_installmenu
45     dh_installcron
46 joey 291 dh_installmanpages -p debconf
47 joey 53 dh_installchangelogs
48     dh_compress
49     dh_fixperms
50     dh_suidregister
51     dh_installdeb
52 joey 246 # Hack to make sure debconf-tiny has the same version.
53     mv debian/debconf-tiny.changelog debian/debconf-tiny.changelog.bak
54 joey 53 dh_gencontrol
55 joey 246 mv debian/debconf-tiny.changelog.bak debian/debconf-tiny.changelog
56 joey 245 dh_md5sums -p debconf
57 joey 53 dh_builddeb
58    
59     # Build architecture-dependent files here.
60     binary-arch: build install
61     # Nothing to do.
62    
63     source diff:
64     @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
65    
66     binary: binary-indep binary-arch
67     .PHONY: build clean binary-indep binary-arch binary install

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5