BRAVO !
Mehdi
Hannes Magnusson wrote:
bjori Fri Jan 19 19:46:22 2007 UTC
Modified files:
/phpdoc Makefile.in
Log:
Copy images from "figures/" into target/figures/refname.imagename
# Example: en/refrence/image/functions/imagecreate.xml
# <screenshot>
# <graphic fileref="figures/image.imagecreate.png" />
# </screenshot>
# Put "imagecreate.png" into en/reference/image/figures/
# make phpweb will then produce:
# <div class="screenshot"><div><img
src="figures/image.imagecreate.png"></div></div>
# And copys en/reference/image/figures/imagecreate.png to
php/figures/image.imagecreate.png
http://cvs.php.net/viewvc.cgi/phpdoc/Makefile.in?r1=1.174&r2=1.175&diff_format=u
Index: phpdoc/Makefile.in
diff -u phpdoc/Makefile.in:1.174 phpdoc/Makefile.in:1.175
--- phpdoc/Makefile.in:1.174 Sat Jan 13 21:19:17 2007
+++ phpdoc/Makefile.in Fri Jan 19 19:46:22 2007
@@ -16,7 +16,7 @@
#
#
-# $Id: Makefile.in,v 1.174 2007/01/13 21:19:17 bjori Exp $
+# $Id: Makefile.in,v 1.175 2007/01/19 19:46:22 bjori Exp $
#
all: html
@@ -192,6 +192,7 @@
@[EMAIL PROTECTED]: @[EMAIL PROTECTED] $(BIGHTML_DEPS)
html/index.html: manual.xml $(HTML_DEPS)
+ for i in `find en -type d -name figures`; do sect=`echo $$i | awk -F\/
'{print $$3}'`; for file in $$i/*; do if test -f $$file; then name=`basename
$$file`; cp -n $$file html/figures/$$sect.$$name; fi; done; done;
$(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php $(LANGDIR)
$(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml
$(XMLDCL) manual.xml
$(PHP) -q $(scriptdir)/html_syntax.php html html/
@@ -223,6 +224,7 @@
$(PHP) -q $(scriptdir)/fixphpweb.php `pwd`/php
php/index.php: manual.xml $(PHPWEB_DEPS)
+ for i in `find en -type d -name figures`; do sect=`echo $$i | awk -F\/
'{print $$3}'`; for file in $$i/*; do if test -f $$file; then name=`basename
$$file`; cp -n $$file php/figures/$$sect.$$name; fi; done; done;
$(PHP) -q $(scriptdir)/phpweb-entities.php `pwd` phpweb
$(PHP) -q $(scriptdir)/rtlpatch/hackmanuallang.php $(LANGDIR)
-$(JADE) $(CATALOG) -d $(PHPWEB_STYLESHEET) -V use-output-dir -t sgml
$(XMLDCL) manual.xml