]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - debian/rules
web commit by joey
[git.ikiwiki.info.git] / debian / rules
1 #!/usr/bin/make -f
3 build: build-stamp
4 build-stamp:
5         dh_testdir
6         perl Makefile.PL
7         $(MAKE)
8         touch build-stamp
10 clean:
11         dh_testdir
12         dh_testroot
13         rm -f build-stamp
14         perl Makefile.PL
15         -$(MAKE) realclean
16         dh_clean
18 binary-arch: build
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_install debian/wikilist etc/ikiwiki
27         dh_installdocs html
28         dh_link usr/share/common-licenses/GPL usr/share/doc/ikiwiki/html/GPL
29         dh_link usr/share/ikiwiki/basewiki \
30                 usr/share/doc/ikiwiki/examples/basewiki
31         dh_installchangelogs
32         dh_compress -X html
33         dh_fixperms
34         dh_perl
35         dh_installdeb
36         dh_gencontrol
37         dh_md5sums
38         dh_builddeb
40 # Not intended for use by anyone except the author.
41 announcedir:
42         @echo ${HOME}/src/ikiwiki/news
44 binary: binary-indep binary-arch
45 .PHONY: build clean binary-indep binary-arch binary