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