[nco] 26/32: Install xmp images alongside documentation.
Bas Couwenberg
sebastic at xs4all.nl
Mon Jan 19 00:00:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository nco.
commit 00410d11d0d7a3bb82c75750a213f3e9cd8dee96
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Jan 18 21:18:00 2015 +0100
Install xmp images alongside documentation.
---
debian/changelog | 1 +
debian/doc-base | 4 ++--
debian/install | 1 +
debian/rules | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5883c0f..8442266 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ nco (4.4.7-1) UNRELEASED; urgency=medium
* Override dh_install to use --list-missing.
* Don't install libnco.la.
* Enable parallel builds.
+ * Install xmp images alongside documentation.
-- Bas Couwenberg <sebastic at xs4all.nl> Sun, 18 Jan 2015 16:40:05 +0100
diff --git a/debian/doc-base b/debian/doc-base
index e994703..a3ed6bb 100644
--- a/debian/doc-base
+++ b/debian/doc-base
@@ -12,5 +12,5 @@ Index: /usr/share/info/nco.info.gz
Files: /usr/share/info/nco.*
Format: HTML
-Index: /usr/share/doc/nco/html/index.html
-Files: /usr/share/doc/nco/html/*.html
+Index: /usr/share/doc/nco/nco.html
+Files: /usr/share/doc/nco/*.html
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..5d35fda
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+doc/xmp/*png usr/share/doc/nco/xmp/
diff --git a/debian/rules b/debian/rules
index c55aa4d..cc2a376 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
cd doc && $(MAKE) clean && $(MAKE) html
- cd doc && $(MAKE) nco.info
+ cd doc && $(MAKE) nco.info && sed -i 's/xmp\/fgr[0-9].png/\/usr\/share\/doc\/nco\/&/' nco.info*
override_dh_auto_test:
# currently the check phase badly fails
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/nco.git
More information about the Pkg-grass-devel
mailing list