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

Contents of /debconf-trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 354 - (show annotations) (download)
Wed Mar 1 00:20:55 2000 UTC (13 years, 2 months ago) by joey
File size: 1694 byte(s)
   * Corrected three ways badly written packages could make
     dpkg-preconfigure die:
      - They could try to ask questions that didn't exist.
      - They could try to ask questions using garbage priority values.
      - They could have garbage template files that lack required fields.
     All three are now handled sanely, and debconf even tells the client
     what stupid thing it has done in the first 2 cases. To make that work,
     I made FrontEnd::add much simpler, and moved a lot of the failure-prone
     code into Confmodule::command_input, and did some other
     reorganizations.
   * Checked and I don't think any more cases like this exist in debconf.
   * While I was at it, I shut up messages about failing to make
     noninteractive elements in debug 2 mode. A common FAQ causer.
   * Added a Debian.bugtemplate file, in an attempt to get people to report
     bugs that are actually useful. This is used by newer reportbug
     packages.
1 #!/usr/bin/make -f
2 # debian/rules that uses debhelper. GNU copyright 1999 by Joey Hess.
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 fixlinks:
8 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
13 build: fixlinks
14 $(MAKE)
15 dh_testdir
16
17 clean:
18 dh_testdir
19 dh_testroot
20 $(MAKE) clean
21 dh_clean
22
23 install: build
24 dh_testdir
25 dh_testroot
26 dh_clean -k
27 dh_installdirs
28 $(MAKE) prefix=debian/tmp install
29 $(MAKE) prefix=debian/debconf-tiny tiny-install
30
31 # Build architecture-independent files here.
32 binary-indep: install
33 # Make sure debhelper is going to install the config and templates.
34 dh_testversion 2.0.49
35 dh_testdir
36 dh_testroot
37 # Don't modify postrm, I purge differently than normal packages
38 # using me.
39 dh_installdebconf -n
40 dh_installdocs doc/CREDITS doc/*.txt doc/*.html \
41 doc/spec/*.txt doc/spec/*.html \
42 README TODO debian/Debian.bugtemplate
43 dh_installexamples samples/*
44 dh_installmenu
45 dh_installcron
46 dh_installmanpages -p debconf
47 dh_installchangelogs
48 dh_compress
49 dh_fixperms
50 dh_suidregister
51 dh_installdeb
52 # Hack to make sure debconf-tiny has the same version.
53 mv debian/debconf-tiny.changelog debian/debconf-tiny.changelog.bak
54 dh_gencontrol
55 mv debian/debconf-tiny.changelog.bak debian/debconf-tiny.changelog
56 dh_md5sums -p debconf
57 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