added adminuser settings, globlist support, and used this to implement page
[ikiwiki.git] / debian / rules
1 #!/usr/bin/make -f
2
3 build: build-stamp
4 build-stamp:
5         dh_testdir
6         perl Makefile.PL
7         $(MAKE)
8         touch build-stamp
9
10 clean:
11         dh_testdir
12         dh_testroot
13         rm -f build-stamp
14         perl Makefile.PL
15         -$(MAKE) realclean
16         dh_clean
17
18 binary-arch: build
19
20 binary-indep: build
21         dh_testdir
22         dh_testroot
23         dh_clean -k
24         $(MAKE) pure_install INSTALLDIRS=vendor \
25                 PREFIX=$(shell pwd)/debian/ikiwiki/$(shell perl -MConfig -e 'print $$Config{prefix}')
26         dh_installdocs html
27         dh_link usr/share/ikiwiki/basewiki \
28                 usr/share/doc/ikiwiki/examples/basewiki
29         dh_installman ikiwiki.man
30         dh_installchangelogs
31         dh_compress
32         dh_fixperms
33         dh_perl
34         dh_installdeb
35         dh_gencontrol
36         dh_md5sums
37         dh_builddeb
38
39 binary: binary-indep binary-arch
40 .PHONY: build clean binary-indep binary-arch binary