/[debian-med]/trunk/packages/ctn/ctn-doc/debian/rules
ViewVC logotype

Diff of /trunk/packages/ctn/ctn-doc/debian/rules

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

revision 5 by kink-guest, Sun Feb 26 12:31:23 2006 UTC revision 6 by kink-guest, Thu Mar 2 14:58:30 2006 UTC
# Line 1  Line 1 
1  #!/usr/bin/make -f  #!/usr/bin/make -f
2  # Sample debian/rules that uses debhelper.  # debian/rules file for ctn-doc
 # GNU copyright 1997 to 1999 by Joey Hess.  
   
 # Uncomment this to turn on verbose mode.  
 #export DH_VERBOSE=1  
3    
4  pkg     := ctn-doc  pkg     := ctn-doc
5  doc-dir := usr/share/doc/$(pkg)  doc-dir := usr/share/doc/$(pkg)
6    
 configure: configure-stamp  
 configure-stamp:  
         dh_testdir  
         # Add here commands to configure the package.  
   
         touch configure-stamp  
   
7    
8  build: build-stamp  build: build-stamp
9    
10  build-stamp: configure-stamp  build-stamp:
11          dh_testdir          dh_testdir
   
         # Add here commands to compile the package.  
   
12          touch build-stamp          touch build-stamp
13    
14  clean:  clean:
15          dh_testdir          dh_testdir
16          dh_testroot          dh_testroot
17          rm -f build-stamp configure-stamp          rm -f build-stamp
   
         # Add here commands to clean up after the build process.  
   
18          dh_clean          dh_clean
19    
20  install: build  install: build
# Line 40  install: build Line 23  install: build
23          dh_clean -k          dh_clean -k
24          dh_installdirs $(doc-dir)          dh_installdirs $(doc-dir)
25    
         # Add here commands to install the package into debian/ctn-doc.  
         #gzip -9 $(CURDIR)/debian/ctn-doc/usr/share/doc/ctn-doc/*.pdf  
   
26  # Build architecture-independent files here.  # Build architecture-independent files here.
27  binary-indep: build install  binary-indep: build install
 # We have nothing to do by default.  
   
 # Build architecture-dependent files here.  
 binary-arch: build install  
28          dh_testdir          dh_testdir
29          dh_testroot          dh_testroot
 #       dh_installdebconf  
30          dh_installdocs          dh_installdocs
 #       dh_installexamples  
 #       dh_installmenu  
 #       dh_installlogrotate  
 #       dh_installemacsen  
 #       dh_installpam  
 #       dh_installmime  
 #       dh_installinit  
 #       dh_installcron  
 #       dh_installman  
 #       dh_installinfo  
 #       dh_undocumented  
31          dh_installchangelogs          dh_installchangelogs
 #       dh_link  
         dh_strip  
32          dh_compress          dh_compress
33          dh_install *.pdf *.html $(doc-dir)          dh_install *.pdf *.html $(doc-dir)
34          dh_fixperms          dh_fixperms
 #       dh_makeshlibs  
35          dh_installdeb          dh_installdeb
 #       dh_perl  
         dh_shlibdeps  
36          dh_gencontrol          dh_gencontrol
37          dh_md5sums          dh_md5sums
38          dh_builddeb          dh_builddeb
39    
40    binary-arch:
41  binary: binary-indep binary-arch  binary: binary-indep binary-arch
42  .PHONY: build clean binary-indep binary-arch binary install configure  .PHONY: build clean binary-indep binary-arch binary install

Legend:
Removed from v.5  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.5