Debianization:
[ccoop.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 # We have nothing to do by default.
47
48 # Build architecture-dependent files here.
49 binary-arch: build install
50         dh_testdir
51         dh_testroot
52         dh_install -X.svn
53 #       dh_installdebconf
54         dh_installdocs
55         dh_installexamples
56         dh_installmenu
57 #       dh_installlogrotate
58 #       dh_installemacsen
59 #       dh_installpam
60 #       dh_installmime
61 #       dh_installinit
62 #       dh_installcron
63 #       dh_installman man/*
64         dh_installinfo
65         dh_installchangelogs
66         dh_link
67         dh_strip
68         dh_compress
69         dh_fixperms
70 #       dh_makeshlibs
71         dh_installdeb
72 #       dh_perl
73         dh_shlibdeps
74         dh_gencontrol
75         dh_md5sums
76         dh_builddeb
77
78 binary: binary-indep binary-arch
79 .PHONY: build clean binary-indep binary-arch binary install