Added a `make manual' target.
This commit is contained in:
parent
cdd6bb06c0
commit
f97d1cfc94
2 changed files with 8 additions and 1 deletions
|
@ -172,6 +172,11 @@ if MANUALUPDATE
|
|||
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 \
|
||||
|
|
|
@ -22,7 +22,7 @@ update-po4a: manual.en.xml
|
|||
( 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 @@ dist-hook: update-po4a
|
|||
"manual.$$lang.xml" > "manual.$$lang.html"; \
|
||||
done
|
||||
|
||||
dist-hook: html
|
||||
|
||||
clean-local:
|
||||
rm -f *.xml
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue