From: Joey Hess Date: Tue, 17 Feb 2009 02:49:26 +0000 (-0500) Subject: need to pass PREFIX=/usr to avoid X-Git-Tag: 3.05~51 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/25b1f60aeb26f8d14d7619b304f8aca0735c850f?hp=e30725efa8f85a788540efcddb80acc3ba23c257 need to pass PREFIX=/usr to avoid was lost in rules file rewrite I used debhelper 7.2 features too, shoot me :-) --- diff --git a/debian/changelog b/debian/changelog index 2492cc253..62374d2dc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ ikiwiki (3.05) UNRELEASED; urgency=low - * debhelper v7; rules file minimisation. + * debhelper v7.2; rules file minimisation. -- Joey Hess Sun, 15 Feb 2009 20:11:57 -0500 diff --git a/debian/control b/debian/control index 72ed77445..0506dec24 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: ikiwiki Section: web Priority: optional -Build-Depends: perl, debhelper (>= 7) +Build-Depends: perl, debhelper (>= 7.2) 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 Uploaders: Josh Triplett diff --git a/debian/rules b/debian/rules index da8249920..0a6571521 100755 --- a/debian/rules +++ b/debian/rules @@ -1,13 +1,18 @@ #!/usr/bin/make -f +%: + dh $@ + +# keeps it out if /usr/local +override_dh_auto_configure: + dh_auto_configure -- PREFIX=/usr -binary: binary-indep -binary-indep: - dh $@ --before dh_compress +# avoid compressing files in the doc wiki +override_dh_compress: dh_compress -Xhtml - dh $@ --after dh_compress -%: - dh $@ +# distclean moans about MANIFEST, this is quieter +override_dh_auto_clean: + $(MAKE) realclean # Not intended for use by anyone except the author. announcedir: