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

Contents of /trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2960 - (hide annotations) (download)
Tue Oct 18 20:13:23 2005 UTC (7 years, 8 months ago) by lange
File size: 1711 byte(s)
disable verbose mode
1 lange 2 #!/usr/bin/make -f
2    
3 lange 2937 DESTDIR=`pwd`/debian/tmp
4 lange 1004 SHAREDIR = $(DESTDIR)/usr/share/fai
5 lange 2930 DOCDIR=`pwd`/debian/fai-doc/usr/share/doc/fai-doc
6 lange 701
7 lange 2930 # we never want CVS and subversion files in our packages
8     export DH_ALWAYS_EXCLUDE=CVS:.svn
9    
10 lange 2 # Uncomment this to turn on verbose mode.
11 lange 2960 #export DH_VERBOSE=1
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 720 # Add here commands to clean up after the build process.
29 lange 2 -$(MAKE) clean
30 lange 2419 dh_clean
31 lange 2
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 2930 $(MAKE) install
39 lange 2
40     # Build architecture-independent files here.
41     binary-indep: build install
42     dh_testdir
43     dh_testroot
44 lange 2880 # dh_installdebconf
45 lange 2940 dh_installdocs -Nfai-server -Nfai-quickstart
46 lange 2 # dh_installexamples
47     # dh_installmenu
48 lange 2937 dh_installman
49     dh_install --sourcedir=debian/tmp
50 lange 2 # dh_installinfo
51 lange 2940 dh_link
52 lange 2 dh_installchangelogs
53 lange 1912 dh_compress -Xexamples -X.pdf
54 lange 2462 dh_fixperms -X make-fai-nfsroot.conf
55 lange 1912 chmod a+rx ${DOCDIR}/examples/*/class/[0-9][0-9]*
56     chmod -R a+rx ${DOCDIR}/examples/*/scripts/*
57 lange 2844 chmod a+rx ${DOCDIR}/examples/*/hooks/*
58     find ${DOCDIR}/examples/*/files -name postinst | xargs chmod a+x
59 lange 1954 chmod a+rx ${DOCDIR}/examples/utils/*
60 lange 2940 perl -pi -e 's/FAIVERSIONSTRING/$(VERSIONSTRING)/' $(shell pwd)/debian/fai-client/usr/share/doc/fai-client/README
61 lange 720 # You may want to make some executables suid here.
62 lange 2 dh_installdeb
63     dh_gencontrol
64     dh_md5sums
65     dh_builddeb
66    
67 lange 413 # Build architecture-dependent files here.
68     binary-arch: build install
69    
70 lange 2 binary: binary-indep binary-arch
71     .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