debhelper v7; rules file minimisation.

master
Joey Hess 2009-02-15 20:12:16 -05:00
parent a543e8934b
commit 862caff2a9
6 changed files with 13 additions and 42 deletions

View File

@ -42,7 +42,7 @@ extra_build: ikiwiki.out ikiwiki.setup docwiki
./mdwn2man ikiwiki-makerepo 1 doc/ikiwiki-makerepo.mdwn > ikiwiki-makerepo.man
./mdwn2man ikiwiki-transition 1 doc/ikiwiki-transition.mdwn > ikiwiki-transition.man
./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man
$(MAKE) -C po mo
$(MAKE) -C po
docwiki: ikiwiki.out
$(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ikiwiki (3.05) UNRELEASED; urgency=low
* debhelper v7; rules file minimisation.
-- Joey Hess <joeyh@debian.org> Sun, 15 Feb 2009 20:11:57 -0500
ikiwiki (3.04) unstable; urgency=low
* 404: New plugin which lets you use the IkiWiki CGI script as

2
debian/control vendored
View File

@ -1,7 +1,7 @@
Source: ikiwiki
Section: web
Priority: optional
Build-Depends: perl, debhelper (>= 5)
Build-Depends: perl, debhelper (>= 7)
Build-Depends-Indep: dpkg-dev (>= 1.9.0), libxml-simple-perl, libtext-markdown-perl | markdown, libtimedate-perl, libhtml-template-perl, libhtml-scrubber-perl, wdg-html-validator, libhtml-parser-perl, liburi-perl, perlmagick
Maintainer: Joey Hess <joeyh@debian.org>
Uploaders: Josh Triplett <josh@freedesktop.org>

1
debian/docs vendored 100644
View File

@ -0,0 +1 @@
html

2
debian/link vendored 100644
View File

@ -0,0 +1,2 @@
usr/share/ikiwiki/examples usr/share/doc/ikiwiki/examples
usr/share/common-licenses/GPL-2 usr/share/doc/ikiwiki/html/GPL

42
debian/rules vendored
View File

@ -1,45 +1,7 @@
#!/usr/bin/make -f
build: build-stamp
build-stamp:
dh_testdir
perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
$(MAKE) -C po
$(MAKE)
$(MAKE) test
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
perl Makefile.PL
if [ -e Makefile ]; then $(MAKE) realclean; fi
dh_clean
binary-arch: build
binary-indep: build
dh_testdir
dh_testroot
dh_clean -k
$(MAKE) pure_install DESTDIR=$(shell pwd)/debian/ikiwiki
dh_installdocs html
dh_link usr/share/ikiwiki/examples usr/share/doc/ikiwiki/examples
dh_link usr/share/common-licenses/GPL-2 usr/share/doc/ikiwiki/html/GPL
dh_installexamples
dh_installchangelogs
dh_compress -X html
dh_fixperms
dh_perl
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
%:
dh $@
# Not intended for use by anyone except the author.
announcedir:
@echo ${HOME}/src/ikiwiki/doc/news
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary