[Pkg-octave-commit] [octave] 07/09: No longer rename *.png files under /usr/share/info/.

Sébastien Villemot sebastien at debian.org
Thu Jan 4 15:14:00 UTC 2018


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

sebastien pushed a commit to branch master
in repository octave.

commit adb06a0e104b77f44d8ecb027f9dba6bec044e58
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Jan 4 15:39:51 2018 +0100

    No longer rename *.png files under /usr/share/info/.
    
    Closes: #816534
---
 debian/rules | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 84fa549..086002c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,14 +66,15 @@ 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
+# The info files have references to .png images, so also ship those.
+# Note that we do not install all doc/interpreter/*.png, since some are not referenced
+# when compiling the output info (using @ifnotinfo macro).
+# We used to rename them by prefixing their name with "octave-", but this was breaking some
+# info files (see #816534).
 override_dh_installinfo-indep:
 	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*; \
+		cp doc/interpreter/$$f debian/octave-info/usr/share/info/; \
 	done
 
 # Strip the executable bit from the .oct files

-- 
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