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

Diff of /trunk/src/debconf/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 231 by joey, Tue Nov 9 05:19:18 1999 UTC revision 451 by joey, Mon May 15 22:59:30 2000 UTC
# Line 1  Line 1 
1  #!/usr/bin/make -f  #!/usr/bin/make -f
 # Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.  
 # This version is for packages that are architecture independent.  
2    
3  # Uncomment this to turn on verbose mode.  # Uncomment this to turn on verbose mode.
4  #export DH_VERBOSE=1  #export DH_VERBOSE=1
5    
 fixlinks:  
         cd Debian && ln -sf .. DebConf  
   
6  build:  build:
7          $(MAKE)          $(MAKE)
8          dh_testdir          dh_testdir
# Line 16  clean: Line 11  clean:
11          dh_testdir          dh_testdir
12          dh_testroot          dh_testroot
13          $(MAKE) clean          $(MAKE) clean
14          dh_clean          dh_clean debian/debconf.changelog
15    
16  install: build  install: build
17          dh_testdir          dh_testdir
18          dh_testroot          dh_testroot
19          dh_clean -k          dh_clean -k
20          dh_installdirs          dh_installdirs
21          $(MAKE) prefix=debian/tmp install          $(MAKE) prefix=`pwd`/debian/tmp install
22            $(MAKE) prefix=`pwd`/debian/debconf-doc install-man
23            $(MAKE) prefix=`pwd`/debian/debconf-utils install-utils
24    
 # Build architecture-independent files here.  
25  binary-indep: install  binary-indep: install
26          # Make sure debhelper is going to install the config and templates.          # Make sure debhelper is going to install the config and templates.
27          dh_testversion 2.0.49          dh_testversion 2.0.49
# Line 34  binary-indep: install Line 30  binary-indep: install
30          # Don't modify postrm, I purge differently than normal packages          # Don't modify postrm, I purge differently than normal packages
31          # using me.          # using me.
32          dh_installdebconf -n          dh_installdebconf -n
33          dh_installdocs doc/CREDITS doc/*.txt doc/*.html \          dh_installdocs
34                  doc/packages-that-prompt doc/spec/*.txt doc/spec/*.html \          dh_installdocs -p debconf-doc doc/namespace.txt doc/hierarchy.txt \
35                  README TODO                  doc/*.txt doc/*.html doc/TODO doc/CREDITS \
36          dh_installexamples samples/*.* test.pl                  doc/spec/*.txt doc/spec/*.html doc/spec/*.gif
37            dh_installexamples -p debconf-doc samples/*
38          dh_installmenu          dh_installmenu
39          dh_installcron          dh_installcron
40          dh_installmanpages dpkg-frontend.1          # Changelog reduction hack for debconf. Only include top 5 entries.
41            perl -ne '$$c++ if /^debconf /; last if $$c > 5 ; print $$_' \
42                    < debian/changelog > debian/debconf.changelog
43            echo "See /usr/share/doc/debconf-doc/changelog.gz for the" >> debian/debconf.changelog
44            echo "remainder of this changelog." >> debian/debconf.changelog
45          dh_installchangelogs          dh_installchangelogs
46          dh_compress          dh_compress
47          dh_fixperms          dh_fixperms
# Line 50  binary-indep: install Line 51  binary-indep: install
51          dh_md5sums          dh_md5sums
52          dh_builddeb          dh_builddeb
53    
 # Build architecture-dependent files here.  
54  binary-arch: build install  binary-arch: build install
55  # Nothing to do.  # Nothing to do.
56    
 source diff:  
         @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false  
   
57  binary: binary-indep binary-arch  binary: binary-indep binary-arch
58  .PHONY: build clean binary-indep binary-arch binary install  .PHONY: build clean binary-indep binary-arch binary install

Legend:
Removed from v.231  
changed lines
  Added in v.451

  ViewVC Help
Powered by ViewVC 1.1.5