Asynchronous updates.
[cocanwiki.git] / debian / rules
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Sample debian/rules that uses debhelper.
4 # GNU copyright 1997 to 1999 by Joey Hess.
5
6 # Uncomment this to turn on verbose mode.
7 #export DH_VERBOSE=1
8
9 configure: configure-stamp
10 configure-stamp:
11         dh_testdir
12         touch configure-stamp
13
14 build: build-stamp
15 build-stamp: configure-stamp 
16         dh_testdir
17
18         $(MAKE)
19         touch build-stamp
20
21 clean:
22         dh_testdir
23         dh_testroot
24         rm -f build-stamp configure-stamp
25
26         -$(MAKE) clean
27         dh_clean 
28
29 install: build
30         dh_testdir
31         dh_testroot
32         dh_clean -k 
33         dh_installdirs
34
35         $(MAKE) pkg-install DESTDIR=$(CURDIR)/debian/cocanwiki
36
37 # Build architecture-independent files here.
38 binary-indep: build install
39 # We have nothing to do by default.
40
41 # Build architecture-dependent files here.
42 binary-arch: build install
43         dh_testdir
44         dh_testroot
45         dh_installchangelogs 
46         dh_installdocs
47         dh_installexamples
48 #       dh_install
49 #       dh_installmenu
50 #       dh_installdebconf       
51 #       dh_installlogrotate
52 #       dh_installemacsen
53 #       dh_installpam
54 #       dh_installmime
55 #       dh_installinit
56 #       dh_installcron
57 #       dh_installinfo
58         dh_installman
59         dh_link
60 #       dh_strip                # Nothing to strip, hopefully.
61         dh_compress
62         dh_fixperms
63 #       dh_perl
64 #       dh_python
65 #       dh_makeshlibs
66         dh_installdeb
67         dh_shlibdeps
68         dh_gencontrol
69         dh_md5sums
70         dh_builddeb
71
72 binary: binary-indep binary-arch
73 .PHONY: build clean binary-indep binary-arch binary install configure