diff options
author | Martin Quinson <mquinson@debian.org> | 2005-12-01 13:45:35 +0000 |
---|---|---|
committer | Martin Quinson <mquinson@debian.org> | 2005-12-01 13:45:35 +0000 |
commit | 10fc7b66402be353d3bac4a10d08838f6eba9701 (patch) | |
tree | d2f5f601cf82b591b39eada0098f782e774372ea /debian/rules | |
parent | 21250c65d1d045466f1f4c6c97435015491fa69e (diff) | |
download | quilt-10fc7b66402be353d3bac4a10d08838f6eba9701.tar.gz |
Resync the CVS with the content of the package
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules index 81ea47b..4ffeca4 100755 --- a/debian/rules +++ b/debian/rules @@ -1,11 +1,7 @@ #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- -# $Id: rules,v 1.15 2005/01/06 19:32:53 mquinson Exp $ - -# Let cdbs track the build-dep for me -debian/control:: debian/control.in debian/rules -DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes +# $Id: rules,v 1.16 2005/12/01 13:45:35 mquinson Exp $ # Import Common Debian Build System (CDBS). include /usr/share/cdbs/1/rules/debhelper.mk @@ -21,4 +17,16 @@ DEB_MAKE_ENVVARS := BUILD_ROOT=$(CURDIR)/debian/tmp LC_ALL=C DEB_DH_INSTALL_SOURCEDIR := debian/tmp # force awk to be gawk, since mawk causes trouble -DEB_CONFIGURE_EXTRA_FLAGS := --with-awk=/usr/bin/gawk +# also specify the full path to sendmail, as requested by policy +DEB_CONFIGURE_EXTRA_FLAGS := --with-awk=/usr/bin/gawk --with-mta=/usr/sbin/sendmail + +# distribute a text version of the doc for fool souls +common-build-arch:: + mkdir doc/tmp || true + cd doc/tmp; LC_ALL=C hevea ../main.tex ; LC_ALL=C hevea ../main.tex; LC_ALL=C hevea ../main.tex + cp doc/tmp/main.html doc/quilt.html + LC_ALL=C perl -e '$$/ = undef; $$f=<>; $$f =~ s|<A[^>]*?HREF="[^"]*#[^"]*">(.*?)</A>|$$1|msg; print $$f;' < doc/tmp/main.html > doc/tmp/tmp.html + LC_ALL=C lynx doc/tmp/tmp.html -dump > doc/quilt.txt + +clean:: + rm -rf doc/quilt.txt doc/quilt.html doc/tmp |