Commit fe4f5e80 authored by Chris Lamb's avatar Chris Lamb Committed by Sebastian Ramacher

Imported Debian patch 0.9.1-2

parent fa0b988f
codespeak-lib (0.9.1-2) unstable; urgency=low
* Tidy debian/rules.
* Don't install /usr/share/pyshared/UNKNOWN-0.0.0.egg-info (Closes: #476606)
-- Chris Lamb <> Sat, 31 May 2008 15:11:06 +0100
codespeak-lib (0.9.1-1) unstable; urgency=low
* New upstream release (Closes: #473528)
......@@ -3,6 +3,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpatch/dpatch.make
PYVERS := $(shell pyversions -r -v)
PYVER := $(shell pyversions -d -v)
......@@ -14,20 +16,15 @@ XP=xsltproc -''-nonet
DOCBOOK_MANPAGES=$(wildcard debian/*.xml)
MANPAGES=$(patsubst %.xml,%.1, $(DOCBOOK_MANPAGES))
patch: patch-stamp
dpatch apply-all
touch $@
build: patch build-stamp build-doc
build: $(DPATCH_STAMPFN) build-stamp build-doc
build-doc: build-doc-stamp $(MANPAGES)
ls $(MANPAGES) > debian/python-codespeak-lib.manpages
%.1: %.xml
$(XP) -o $@ $(DB2MAN) $<
$(XP) -o $@ $(DB2MAN) $<
mkdir apigen
echo "** This takes a long time, please be patient **"
./py/bin/ apigen || true
......@@ -58,20 +55,16 @@ build-python%:
touch $@
dpatch deapply-all
rm -rf patch-stamp debian/patched
clean: unpatch
rm -f *-stamp
rm -rf build
rm -rf build-python*
rm -f debian/python-codespeak-lib.install
rm -f debian/
rm -f *-stamp
rm -rf build
rm -rf build-python*
rm -f debian/python-codespeak-lib.install
rm -f debian/
rm -f debian/python-codespeak-lib.manpages
rm -f $(MANPAGES)
rm -f $(MANPAGES)
rm -rf py/c-extension/greenlet/ \
py/rest/testing/data/*.png \
py/rest/testing/data/*.pdf \
......@@ -85,7 +78,7 @@ clean: unpatch
find py/doc/ -name "*.html" | xargs rm -f
install: build
install: build
dh_installdirs usr/share/lintian/overrides/
......@@ -93,6 +86,7 @@ install: build
cp debian/lintian.override debian/python-codespeak-lib/usr/share/lintian/overrides/python-codespeak-lib
chmod 644 debian/python-codespeak-lib/usr/lib/python*/site-packages/py/execnet/script/
rm -f debian/python-codespeak-lib/usr/share/doc/python-codespeak-lib/
find -type f -name "UNKNOWN*.egg-info" | xargs rm -f
# Build architecture independant packages using the common target.
binary-indep: build install
......@@ -104,7 +98,7 @@ binary-arch: build install
dh_installchangelogs -a
dh_installdocs -a
dh_installman -a
find debian/python-codespeak-lib -name .svn | xargs rm -rf {}
find debian/python-codespeak-lib -name .svn -print0 | xargs -0 rm -rf
dh_installexamples -a
dh_strip -a
dh_compress -a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment