[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[asymptote] 01/07: fix location of image files in asymptote.info



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

preining pushed a commit to branch master
in repository asymptote.

commit 414ceac90509486fcaa8abca500fabfe6c7349dc
Author: Norbert Preining <preining@debian.org>
Date:   Tue Nov 12 14:16:57 2013 +0900

    fix location of image files in asymptote.info
---
 debian/changelog | 3 ++-
 debian/rules     | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f4747ef..ae45085 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,8 +26,9 @@ asymptote (2.23-1) UNRELEASED; urgency=low
   * debian/rules
     - add get-orig-source target that removes generated files
   * add myself to uploaders
+  * fix location of image files in asymptote.info
 
- -- Norbert Preining <preining@debian.org>  Thu, 07 Nov 2013 09:51:55 +0900
+ -- Norbert Preining <preining@debian.org>  Tue, 12 Nov 2013 14:15:39 +0900
 
 asymptote (2.15-2) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index d2fdc27..5a00ca2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,9 @@ common-install-arch::
 # from cdbs
 common-install-prehook-indep::
 	make all html
+	# fix location of images in info document
+	cat doc/png/asymptote.info | sed -e 's!image src="\([^"]*\)"!image src="/usr/share/doc/asymptote-doc/html/\1"!g' > doc/png/asymptote.info.fixed
+	mv doc/png/asymptote.info.fixed doc/png/asymptote.info
 
 clean::
 	rm --force doc/latexusage.pdf doc/latexusage.dvi doc/TeXShopAndAsymptote.dvi doc/CAD.dvi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/asymptote.git


Reply to: