1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
SUBDIRS = scripts Developers playbook spoiler spell-docs spoiler-html playbook-html
dist_noinst_DATA = handbook.ps spoiler.ps
dist_noinst_SCRIPTS = include_html.pl
dist_man6_MANS = crossfire-server.man \
crossloop.web.man crossloop.man
EXTRA_DIST = README \
commands.txt \
media-tags.txt plugins.txt \
runes-guide.txt skills.txt stats.txt \
style-guide.txt survival-guide.txt
DTOP=$(top_srcdir)/$(PACKAGE)-doc
BASENAME = @BASENAME@
spoiler.ps:
(cd spoiler; $(MAKE) spoiler)
handbook.ps:
(cd playbook; $(MAKE) handbook)
spell-docs:
(cd spell-docs; $(MAKE) spell-docs)
crosslib.doc:
(cd ../common; make doc)
archive: spoiler playbook spell-docs
$(mkinstalldirs) $(DTOP)
cp $(EXTRA_DIST) $(DTOP)
cp spoiler.ps handbook.ps $(DTOP)
cp spell-docs/*.txt spell-docs/*.ps $(DTOP)
(cd spoiler-html ; make archive )
(cd playbook-html ; make archive )
(cd $(DTOP)/..; gtar --exclude=CVS -cvhzf $(PACKAGE)-$(VERSION).doc.tar.gz `$(BASENAME) $(DTOP)`)
$(RM) -rf $(DTOP)
|