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

Contents of /trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


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