[Pkg-kde-commits] rev 2327 - trunk/packages/koffice/debian
Isaac Clerencia
isaac at costa.debian.org
Sat Nov 19 21:22:52 UTC 2005
Author: isaac
Date: 2005-11-19 21:22:51 +0000 (Sat, 19 Nov 2005)
New Revision: 2327
Modified:
trunk/packages/koffice/debian/rules
Log:
Run dh_installmime for all packages in rules until CDBS can get NMUed
Fix several koffice weirdness
Create the links to set up correctly documentation
Include upstream changelogs correctly
Don't compress .kwd and other koffice example documents
Modified: trunk/packages/koffice/debian/rules
===================================================================
--- trunk/packages/koffice/debian/rules 2005-11-19 20:29:44 UTC (rev 2326)
+++ trunk/packages/koffice/debian/rules 2005-11-19 21:22:51 UTC (rev 2327)
@@ -14,3 +14,31 @@
export CPP=cpp-3.4
export CXX=g++-3.4
endif
+
+PACKAGES_WITH_LIBS := karbon kchart kivio koffice-libs krita kspread kugar
+
+DEB_INSTALL_CHANGELOGS_karbon := karbon/CHANGES
+DEB_INSTALL_CHANGELOGS_kchart := kchart/CHANGES
+DEB_INSTALL_CHANGELOGS_kexi := kexi/CHANGES
+DEB_INSTALL_CHANGELOGS_kivio := kivio/CHANGES
+DEB_INSTALL_CHANGELOGS_kpresenter := kpresenter/CHANGES
+DEB_INSTALL_CHANGELOGS_kspread:= kspread/CHANGES
+DEB_INSTALL_CHANGELOGS_kugar := kugar/CHANGES
+DEB_INSTALL_CHANGELOGS_kword := kword/CHANGES
+DEB_INSTALL_CHANGELOGS_koffice-libs := lib/CHANGES
+
+DEB_COMPRESS_EXCLUDE := .ksp .kwd .kwt .docbook
+
+common-binary-post-install-arch::
+ for pkg in `dh_listpackages`; do \
+ if test -d debian/$$pkg/usr/share/doc/kde/HTML/en/$$pkg; then \
+ dh_link -p$$pkg usr/share/doc/kde/HTML/en/$$pkg \
+ usr/share/doc/$$pkg/html; \
+ fi; \
+ dh_installmime -p$$pkg; \
+ done
+ mv debian/kugar/usr/share/doc/kugar/examples/kugar.examples.README \
+ debian/kugar/usr/share/doc/kugar/examples/README.examples
+ mv debian/kpresenter/usr/share/man/pl/man1/kprconverter.1 \
+ debian/kpresenter/usr/share/man/man1/kprconverter.pl.1
+ rm -rf debian/kpresenter/usr/share/man/pl
More information about the pkg-kde-commits
mailing list