mail[Wesnoth-commits] r20612 - in /trunk: Makefile.am doc/manual/Makefile.am


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by jorda on September 20, 2007 - 10:22:
Author: jorda
Date: Thu Sep 20 10:21:41 2007
New Revision: 20612

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20612&view=rev
Log:
`make manual' renamed to manual-en, and it now only updates the english
manual.

Modified:
    trunk/Makefile.am
    trunk/doc/manual/Makefile.am

Modified: trunk/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/Makefile.am?rev=20612&r1=20611&r2=20612&view=diff
==============================================================================
--- trunk/Makefile.am (original)
+++ trunk/Makefile.am Thu Sep 20 10:21:41 2007
@@ -199,8 +199,8 @@
 endif
 
 if MANUALUPDATE
-manual:
-       @cd doc/manual && make html || exit $?
+manual-en:
+       @cd doc/manual && make manual.en.html || exit $?
 endif
 
 # latest graph-includes.pl can be found currently at 
http://ydirson.free.fr/soft/wesnoth/graphs/

Modified: trunk/doc/manual/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/doc/manual/Makefile.am?rev=20612&r1=20611&r2=20612&view=diff
==============================================================================
--- trunk/doc/manual/Makefile.am (original)
+++ trunk/doc/manual/Makefile.am Thu Sep 20 10:21:41 2007
@@ -12,9 +12,15 @@
        $(ASCIIDOC) -b docbook -d book -n -a toc -o manual.en.xml manual.txt
        $(DOS2UNIX) manual.en.xml
 
+manual.en.html: manual.en.xml
+       @rm -f manual.en.html; \
+       echo "Generating manual.en.html..."; \
+       $(XSLTPROC) $(XSLTOPTS) "/etc/asciidoc/docbook-xsl/xhtml.xsl" \
+                   "manual.en.xml" > "manual.en.html";
+
 update-po: manual.en.xml
        ( cd ../../po/wesnoth-manual && \
-       $(PO4A) $(PO4AOPTS) --no-translations wesnoth-manual.cfg || exit $? )
+         $(PO4A) $(PO4AOPTS) --no-translations wesnoth-manual.cfg || exit $? 
)
 
 update-po4a: manual.en.xml
        ( cd ../../po/wesnoth-manual && \
@@ -23,8 +29,8 @@
 html: update-po4a
        @for i in manual.*.xml; do \
                lang=$$(echo $$i | sed -e 
's/manual\.\([a-zA-Z_@]*\)\.xml/\1/'); \
+               rm -f manual.$$lang.html; \
                echo "Generating manual from manual.$$lang.xml..."; \
-               rm -f manual.$$lang.html; \
                $(XSLTPROC) $(XSLTOPTS) "/etc/asciidoc/docbook-xsl/xhtml.xsl" 
\
                            "manual.$$lang.xml" > "manual.$$lang.html"; \
        done




Related Messages


Powered by MHonArc, Updated Thu Sep 20 11:00:41 2007