mail[Wesnoth-commits] r20423 - 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 16, 2007 - 10:39:
Author: jorda
Date: Sun Sep 16 10:39:00 2007
New Revision: 20423

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20423&view=rev
Log:
Added a `make manual' target.

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

Modified: trunk/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/Makefile.am?rev=20423&r1=20422&r2=20423&view=diff
==============================================================================
--- trunk/Makefile.am (original)
+++ trunk/Makefile.am Sun Sep 16 10:39:00 2007
@@ -172,6 +172,11 @@
 endif
 endif
 
+if MANUALUPDATE
+manual:
+       @cd doc/manual && make html || exit $?
+endif
+
 # latest graph-includes.pl can be found currently at 
http://ydirson.free.fr/soft/wesnoth/graphs/
 wesnoth-deps.dot:
        PERL5LIB=$(top_srcdir) graph-includes -verbose --class wesnoth 
--consolidate 1-1 \

Modified: trunk/doc/manual/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/doc/manual/Makefile.am?rev=20423&r1=20422&r2=20423&view=diff
==============================================================================
--- trunk/doc/manual/Makefile.am (original)
+++ trunk/doc/manual/Makefile.am Sun Sep 16 10:39:00 2007
@@ -22,7 +22,7 @@
        ( cd ../../po/wesnoth-manual && \
          $(PO4A) $(PO4AOPTS) wesnoth-manual.cfg || exit $? )
 
-dist-hook: update-po4a
+html: update-po4a
        @for i in manual.*.xml; do \
                lang=$$(echo $$i | sed -e 
's/manual\.\([a-zA-Z_@]*\)\.xml/\1/'); \
                echo "Generating manual from manual.$$lang.xml..."; \
@@ -31,6 +31,8 @@
                            "manual.$$lang.xml" > "manual.$$lang.html"; \
        done
 
+dist-hook: html
+
 clean-local:
        rm -f *.xml
 endif




Related Messages


Powered by MHonArc, Updated Sun Sep 16 12:40:36 2007