]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - debian/rules
ikiwiki-makerepo: Fix injecting of empty mercurial and bzr repositories. Closes:...
[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 PREFIX=/usr INSTALLDIRS=vendor
7         $(MAKE) -C po
8         $(MAKE)
9         $(MAKE) test
10         touch build-stamp
12 clean:
13         dh_testdir
14         dh_testroot
15         rm -f build-stamp
16         perl Makefile.PL
17         if [ -e Makefile ]; then $(MAKE) realclean; fi
18         dh_clean
20 binary-arch: build
22 binary-indep: build
23         dh_testdir
24         dh_testroot
25         dh_clean -k
26         $(MAKE) pure_install DESTDIR=$(shell pwd)/debian/ikiwiki
27         dh_installdocs html
28         dh_installexamples doc/examples/*
29         dh_link usr/share/common-licenses/GPL-2 usr/share/doc/ikiwiki/html/GPL
30         dh_installchangelogs
31         dh_compress -X html
32         dh_fixperms
33         dh_perl
34         dh_installdeb
35         dh_gencontrol
36         dh_md5sums
37         dh_builddeb
39 # Not intended for use by anyone except the author.
40 announcedir:
41         @echo ${HOME}/src/ikiwiki/doc/news
43 binary: binary-indep binary-arch
44 .PHONY: build clean binary-indep binary-arch binary