summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Hommey <glandium@debian.org>2009-07-13 08:19:33 +0200
committerMike Hommey <glandium@debian.org>2009-07-13 08:41:21 +0200
commit921e76d0332711816b935a88755d388cf1e60e40 (patch)
treee3dfb5a855255ac48106292ae96d778c5df24d71 /debian/rules
parent53cc58d5493b2bea2cd290af8c263ddc0fde1ff6 (diff)
downloadlibxml2-921e76d0332711816b935a88755d388cf1e60e40.tar.gz
Don't use symlinks in /usr/share/doc anymore
And only install the upstream changelog in the libxml2 package. Considering its size, we don't need it everywhere.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 3 insertions, 6 deletions
diff --git a/debian/rules b/debian/rules
index ecd2fd3..3bd98b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -121,7 +121,7 @@ binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_installdocs -i -A AUTHORS TODO README NEWS
- dh_installchangelogs -i debian/no-upstream-changelog
+ dh_installchangelogs -i
dh_install -i --sourcedir=debian/tmp
dh_link -i
dh_strip -i
@@ -138,14 +138,11 @@ binary-arch: build install
dh_testdir -a
dh_testroot -a
dh_installexamples -a
- dh_installdocs -plibxml2 -A AUTHORS TODO README NEWS
+ dh_installdocs -a -A AUTHORS TODO README NEWS
dh_installdocs -ppython-libxml2 python/TODO
- ln -sf $(foreach file, AUTHORS README README.Debian changelog.Debian.gz changelog.gz,../libxml2/$(file)) debian/python-libxml2/usr/share/doc/python-libxml2/$(file)
- ln -sf libxml2 debian/libxml2-dev/usr/share/doc/libxml2-dev
- ln -sf libxml2 debian/libxml2-utils/usr/share/doc/libxml2-utils
- ln -sf libxml2 debian/libxml2-dbg/usr/share/doc/libxml2-dbg
dh_installman -a
dh_installchangelogs -plibxml2 ChangeLog
+ dh_installchangelogs -Nlibxml2
dh_install -a --sourcedir=debian/tmp
sed "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/libxml2.la > debian/libxml2-dev/usr/lib/libxml2.la
dh_pysupport -a