fixes
[ikiwiki] / debian / rules
CommitLineData
11860949 1#!/usr/bin/make -f
2
3build: build-stamp
4build-stamp:
5 dh_testdir
5bc73d7f 6 perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
11860949 7 $(MAKE)
f9ce7a57 8 $(MAKE) test
11860949 9 touch build-stamp
10
11clean:
12 dh_testdir
13 dh_testroot
14 rm -f build-stamp
15 perl Makefile.PL
16 -$(MAKE) realclean
17 dh_clean
18
19binary-arch: build
20
21binary-indep: build
22 dh_testdir
23 dh_testroot
24 dh_clean -k
5bc73d7f 25 $(MAKE) pure_install DESTDIR=$(shell pwd)/debian/ikiwiki
5f280af2 26 dh_install wikilist etc/ikiwiki
11860949 27 dh_installdocs html
5bc73d7f 28 dh_installexamples doc/examples/*
55ebfd5d 29 dh_link usr/share/common-licenses/GPL usr/share/doc/ikiwiki/html/GPL
11860949 30 dh_installchangelogs
55ebfd5d 31 dh_compress -X html
11860949 32 dh_fixperms
33 dh_perl
34 dh_installdeb
35 dh_gencontrol
36 dh_md5sums
37 dh_builddeb
38
cfe0ea7a 39# Not intended for use by anyone except the author.
40announcedir:
763a9559 41 @echo ${HOME}/src/ikiwiki/doc/news
cfe0ea7a 42
11860949 43binary: binary-indep binary-arch
44.PHONY: build clean binary-indep binary-arch binary