/[fai]/trunk/debian/rules
ViewVC logotype

Contents of /trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1916 - (hide annotations) (download)
Wed Jul 16 11:50:09 2003 UTC (9 years, 10 months ago) by lange
File size: 1574 byte(s)
remove dh_undocumented
1 lange 2 #!/usr/bin/make -f
2    
3 lange 701 DESTDIR=`pwd`/debian/fai
4 lange 1004 SHAREDIR = $(DESTDIR)/usr/share/fai
5 lange 1912 DOCDIR=$(DESTDIR)/usr/share/doc/fai
6 lange 701
7 lange 2 # Uncomment this to turn on verbose mode.
8 lange 92 #export DH_VERBOSE=1
9 lange 2
10     # This is the debhelper compatability version to use.
11 lange 1250 export DH_COMPAT=3
12 lange 2
13 lange 36 include VERSION
14 lange 2
15     build: build-stamp
16     build-stamp:
17     dh_testdir
18    
19 lange 720 # Add here commands to compile the package.
20 lange 131 $(MAKE) all
21 lange 2
22     touch build-stamp
23    
24     clean:
25     dh_testdir
26 lange 701 # dh_testroot
27 lange 2 rm -f build-stamp
28 lange 92 dh_clean
29 lange 720 # Add here commands to clean up after the build process.
30 lange 2 -$(MAKE) clean
31    
32     install: build
33     dh_testdir
34     dh_testroot
35     dh_clean -k
36     dh_installdirs
37 lange 720 # Add here commands to install the package into debian/fai.
38 lange 701 $(MAKE) install DESTDIR=`pwd`/debian/fai
39 lange 2
40    
41     # Build architecture-independent files here.
42     binary-indep: build install
43     # dh_testversion
44     dh_testdir
45     dh_testroot
46     # dh_installdebconf
47     dh_installdocs
48     # dh_installexamples
49     # dh_installmenu
50 lange 1403 dh_installman man/*.[1-9]
51 lange 2 # dh_installinfo
52     dh_installchangelogs
53 lange 135 # dh_link
54 lange 1912 dh_compress -Xexamples -X.pdf
55 lange 2 dh_fixperms
56 lange 1912 chmod a+rx ${DOCDIR}/examples/*/class/[0-9][0-9]*
57     chmod -R a+rx ${DOCDIR}/examples/*/scripts/*
58 lange 1004 chmod a+rx ${SHAREDIR}/utils/*
59 lange 701 chmod a+rx ${DESTDIR}/usr/lib/fai/sbin/rcS_fai
60 lange 1912 perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' ${DOCDIR}/README
61 lange 701 find ${DESTDIR} -name CVS |xargs rm -rf
62 lange 720 # You may want to make some executables suid here.
63 lange 2 dh_installdeb
64     dh_gencontrol
65     dh_md5sums
66     dh_builddeb
67    
68 lange 413 # Build architecture-dependent files here.
69     binary-arch: build install
70    
71 lange 2 binary: binary-indep binary-arch
72     .PHONY: build clean binary-indep binary-arch binary install

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5