docgen: Fix wiki text generation.

This got broken by some recent changes. As part of this, remove a
now-deleted wiki page and also add a Makefile target to build the page
(for Doom, at least).
This commit is contained in:
Simon Howard 2018-05-27 20:25:43 -04:00
parent 679c98f0bf
commit 74e0e0c740
3 changed files with 5 additions and 2 deletions

View file

@ -78,6 +78,10 @@ CMDLINE.doom : CMDLINE.template $(top_srcdir)/src $(top_srcdir)/src/doom
-p $(srcdir)/CMDLINE.template \ -p $(srcdir)/CMDLINE.template \
$(top_srcdir)/src/ $(top_srcdir)/src/doom/ > $@ $(top_srcdir)/src/ $(top_srcdir)/src/doom/ > $@
CMDLINE.doom.wikitext : $(top_srcdir)/src $(top_srcdir)/src/doom
$(DOCGEN) $(DOCGEN_COMMON_ARGS) \
-w $(top_srcdir)/src/ $(top_srcdir)/src/doom/ > $@
INSTALL.doom: INSTALL.template INSTALL.doom: INSTALL.template
$(srcdir)/simplecpp -DDOOM $(WIN32) \ $(srcdir)/simplecpp -DDOOM $(WIN32) \
-DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Doom" \ -DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Doom" \

View file

@ -456,7 +456,7 @@ def manpage_output(targets, substs, template_file):
print_template(template_file, substs, content) print_template(template_file, substs, content)
def wiki_output(targets, template): def wiki_output(targets, _, template):
read_wikipages() read_wikipages()
for t in targets: for t in targets:

View file

@ -2,7 +2,6 @@
# wikitext output. # wikitext output.
Dehacked Dehacked
Doom 1.91 Doom 1.91
Configuration
Merging Merging
Multiplayer Multiplayer
Three screen mode Three screen mode