rev 20445 - kde-extras/ctemplate/trunk/debian
Pino Toscano
pino at moszumanska.debian.org
Wed May 4 06:58:37 UTC 2016
Author: pino
Date: 2016-05-04 06:58:37 +0000 (Wed, 04 May 2016)
New Revision: 20445
Removed:
kde-extras/ctemplate/trunk/debian/not-installed
Modified:
kde-extras/ctemplate/trunk/debian/changelog
kde-extras/ctemplate/trunk/debian/libctemplate-dev.install
kde-extras/ctemplate/trunk/debian/rules
Log:
improve installation of files into packages
- copy documentation files from the destdir, and not the source dir
- explicitly remove from destdir all the files that must not be copied
at all (libtool .la, READMEs and such)
- pass --list-missing to dh_install, so files not copied are easily
spotted
- remove debian/not-installed, no more useful now
Modified: kde-extras/ctemplate/trunk/debian/changelog
===================================================================
--- kde-extras/ctemplate/trunk/debian/changelog 2016-05-04 06:20:58 UTC (rev 20444)
+++ kde-extras/ctemplate/trunk/debian/changelog 2016-05-04 06:58:37 UTC (rev 20445)
@@ -4,6 +4,13 @@
* Upstream moved to github, so:
- switch Homepage to https://github.com/olafvdspek/ctemplate
- rewrite watch to scan tags on github
+ * Improve installation of files into packages:
+ - copy documentation files from the destdir, and not the source dir
+ - explicitly remove from destdir all the files that must not be
+ copied at all (libtool .la, READMEs and such)
+ - pass --list-missing to dh_install, so files not copied are easily
+ spotted
+ - remove debian/not-installed, no more useful now
-- Debian KDE Extras Team <pkg-kde-extras at lists.alioth.debian.org> Wed, 04 May 2016 08:11:11 +0200
Modified: kde-extras/ctemplate/trunk/debian/libctemplate-dev.install
===================================================================
--- kde-extras/ctemplate/trunk/debian/libctemplate-dev.install 2016-05-04 06:20:58 UTC (rev 20444)
+++ kde-extras/ctemplate/trunk/debian/libctemplate-dev.install 2016-05-04 06:58:37 UTC (rev 20445)
@@ -2,5 +2,5 @@
usr/lib/lib*.so
usr/lib/lib*.a
usr/bin/*
-doc/*.html usr/share/doc/libctemplate-dev/html/
-doc/*.css usr/share/doc/libctemplate-dev/html/
+usr/share/doc/ctemplate-*/*.css usr/share/doc/libctemplate-dev/html/
+usr/share/doc/ctemplate-*/*.html usr/share/doc/libctemplate-dev/html/
Modified: kde-extras/ctemplate/trunk/debian/rules
===================================================================
--- kde-extras/ctemplate/trunk/debian/rules 2016-05-04 06:20:58 UTC (rev 20444)
+++ kde-extras/ctemplate/trunk/debian/rules 2016-05-04 06:58:37 UTC (rev 20445)
@@ -11,3 +11,21 @@
override_dh_auto_test:
# There are some random failures in the tests.
-dh_auto_test
+
+override_dh_auto_install:
+ dh_auto_install
+ # kill libtool .la files
+ find debian/tmp -name '*.la' -print -delete
+ # remove documentation installed by upstream, which is either
+ # not useful at all or installed with other tools
+ rm -fv \
+ debian/tmp/usr/share/doc/ctemplate-*/AUTHORS \
+ debian/tmp/usr/share/doc/ctemplate-*/ChangeLog \
+ debian/tmp/usr/share/doc/ctemplate-*/COPYING \
+ debian/tmp/usr/share/doc/ctemplate-*/INSTALL \
+ debian/tmp/usr/share/doc/ctemplate-*/NEWS \
+ debian/tmp/usr/share/doc/ctemplate-*/README \
+ debian/tmp/usr/share/doc/ctemplate-*/README_windows.txt
+
+override_dh_install:
+ dh_install --list-missing
More information about the pkg-kde-commits
mailing list