2fa1962346ab0dc10a81eebd0d6ae724f112ceb4
[decoratedstr.git] / debian / rules
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 #CFLAGS = -g
9 #ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
10 #       CFLAGS += -O0
11 #else
12 #       CFLAGS += -O2
13 #endif
14
15 build: build-stamp
16 build-stamp:
17         dh_testdir
18
19         # Add here commands to compile the package.
20         #-$(MAKE)
21         #docbook-to-man debian/gentoo.sgml > gentoo.1
22
23         touch build-stamp
24
25 clean:
26         dh_testdir
27         dh_testroot
28         rm -f build-stamp
29
30         # Add here commands to clean up after the build process.
31         #$(MAKE) clean
32
33         dh_clean
34
35 install: build
36         dh_testdir
37         dh_testroot
38         dh_clean -k
39         dh_installdirs
40         
41         # Add here commands to install the package into debian/curcy.
42         #$(MAKE) install DESTDIR=$(CURDIR)/debian/curcy
43
44 # Build architecture-independent files here.
45 binary-indep: build install
46         dh_testdir
47         dh_testroot
48         dh_install -X.svn
49 #       dh_installdebconf
50         dh_installdocs
51         dh_installexamples
52         dh_installmenu
53 #       dh_installlogrotate
54 #       dh_installemacsen
55 #       dh_installpam
56 #       dh_installmime
57 #       dh_installinit
58 #       dh_installcron
59 #       dh_installman man/*
60         dh_installinfo
61         dh_installchangelogs
62         dh_link
63         dh_strip
64         dh_compress
65         dh_fixperms
66         dh_pysupport
67 #       dh_makeshlibs
68         dh_installdeb
69 #       dh_perl
70         dh_shlibdeps
71         dh_gencontrol
72         dh_md5sums
73         dh_builddeb
74
75 # We have nothing to do by default.
76
77 # Build architecture-dependent files here.
78 binary-arch: build install
79 binary: binary-indep binary-arch
80 .PHONY: build clean binary-indep binary-arch binary install