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

Contents of /trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


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