[Pkg-octave-commit] [octave] 14/15: Ship *.png files used in info doc, using an "octave-" prefix for filenames.

Sébastien Villemot sebastien at moszumanska.debian.org
Wed Dec 11 13:32:53 UTC 2013


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository octave.

commit f9f632a27f01c08646e7055b34ae784843ea9cb5
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Wed Dec 11 14:28:26 2013 +0100

    Ship *.png files used in info doc, using an "octave-" prefix for filenames.
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 524fb83..6824e44 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,6 +34,16 @@ override_dh_auto_install:
 	# Delete .la files (for liboctgui)
 	find debian/tmp -name '*.la' -delete
 
+# The info files have references to .png images
+# Rename them by prefixing their name with "octave-", adapt the *.info files to
+#  this new name, and ship the images under /usr/share/info
+override_dh_installinfo:
+	dh_installinfo
+	for f in `grep -a src=\".*\" doc/interpreter/*.info* | sed 's/.*src="\([^"]*\)".*/\1/'`; do \
+		cp doc/interpreter/$$f debian/octave-info/usr/share/info/octave-$$f; \
+		sed -i "s/src=\"$$f\"/src=\"octave-$$f\"/g" debian/octave-info/usr/share/info/octave.info*; \
+	done
+
 # save debug information into the debug package
 override_dh_strip:
 	dh_strip -a --dbg-package=octave-dbg

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave.git



More information about the Pkg-octave-commit mailing list