man: Generate Markdown versions of CMDLINE
This commit is contained in:
parent
eccaa5aace
commit
aa72812ca7
3 changed files with 44 additions and 6 deletions
4
man/.gitignore
vendored
4
man/.gitignore
vendored
|
|
@ -1,7 +1,11 @@
|
||||||
CMDLINE.doom
|
CMDLINE.doom
|
||||||
|
CMDLINE.doom.md
|
||||||
CMDLINE.heretic
|
CMDLINE.heretic
|
||||||
|
CMDLINE.heretic.md
|
||||||
CMDLINE.hexen
|
CMDLINE.hexen
|
||||||
|
CMDLINE.hexen.md
|
||||||
CMDLINE.strife
|
CMDLINE.strife
|
||||||
|
CMDLINE.strife.md
|
||||||
INSTALL.doom
|
INSTALL.doom
|
||||||
INSTALL.heretic
|
INSTALL.heretic
|
||||||
INSTALL.hexen
|
INSTALL.hexen
|
||||||
|
|
|
||||||
8
man/CMDLINE.template.md
Normal file
8
man/CMDLINE.template.md
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Command line parameters
|
||||||
|
|
||||||
|
This is a full list of the supported command line parameters. A number of
|
||||||
|
additional parameters are supported in addition to those present in the DOS
|
||||||
|
version.
|
||||||
|
|
||||||
|
@content
|
||||||
|
|
||||||
|
|
@ -17,12 +17,6 @@ strifedocsdir = ${docdir}/../${PROGRAM_PREFIX}strife
|
||||||
|
|
||||||
if HAVE_PYTHON
|
if HAVE_PYTHON
|
||||||
|
|
||||||
if HAVE_WINDRES
|
|
||||||
|
|
||||||
WIN32=-D_WIN32
|
|
||||||
|
|
||||||
endif
|
|
||||||
|
|
||||||
GENERATED_MAN_PAGES = \
|
GENERATED_MAN_PAGES = \
|
||||||
@PROGRAM_PREFIX@doom.6 \
|
@PROGRAM_PREFIX@doom.6 \
|
||||||
default.cfg.5 \
|
default.cfg.5 \
|
||||||
|
|
@ -52,6 +46,17 @@ hereticdocs_DATA = INSTALL.heretic CMDLINE.heretic
|
||||||
hexendocs_DATA = INSTALL.hexen CMDLINE.hexen
|
hexendocs_DATA = INSTALL.hexen CMDLINE.hexen
|
||||||
strifedocs_DATA = INSTALL.strife CMDLINE.strife
|
strifedocs_DATA = INSTALL.strife CMDLINE.strife
|
||||||
|
|
||||||
|
if HAVE_WINDRES
|
||||||
|
|
||||||
|
WIN32=-D_WIN32
|
||||||
|
|
||||||
|
doomdocs_DATA += CMDLINE.doom.md
|
||||||
|
hereticdocs_DATA += CMDLINE.heretic.md
|
||||||
|
hexendocs_DATA += CMDLINE.hexen.md
|
||||||
|
strifedocs_DATA += CMDLINE.strife.md
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
CLEANFILES = $(GENERATED_MAN_PAGES) $(SETUP_MAN_PAGES) \
|
CLEANFILES = $(GENERATED_MAN_PAGES) $(SETUP_MAN_PAGES) \
|
||||||
$(doomdocs_DATA) $(hereticdocs_DATA) \
|
$(doomdocs_DATA) $(hereticdocs_DATA) \
|
||||||
$(hexendocs_DATA) $(strifedocs_DATA)
|
$(hexendocs_DATA) $(strifedocs_DATA)
|
||||||
|
|
@ -78,6 +83,11 @@ 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.md : CMDLINE.template.md $(top_srcdir)/src $(top_srcdir)/src/doom
|
||||||
|
$(DOCGEN) $(DOCGEN_COMMON_ARGS) \
|
||||||
|
-M $(srcdir)/CMDLINE.template.md \
|
||||||
|
$(top_srcdir)/src/ $(top_srcdir)/src/doom/ > $@
|
||||||
|
|
||||||
CMDLINE.doom.wikitext : $(top_srcdir)/src $(top_srcdir)/src/doom
|
CMDLINE.doom.wikitext : $(top_srcdir)/src $(top_srcdir)/src/doom
|
||||||
$(DOCGEN) $(DOCGEN_COMMON_ARGS) \
|
$(DOCGEN) $(DOCGEN_COMMON_ARGS) \
|
||||||
-w $(top_srcdir)/src/ $(top_srcdir)/src/doom/ > $@
|
-w $(top_srcdir)/src/ $(top_srcdir)/src/doom/ > $@
|
||||||
|
|
@ -108,6 +118,11 @@ CMDLINE.heretic : CMDLINE.template $(top_srcdir)/src $(top_srcdir)/src/heretic
|
||||||
-p $(srcdir)/CMDLINE.template \
|
-p $(srcdir)/CMDLINE.template \
|
||||||
$(top_srcdir)/src/ $(top_srcdir)/src/heretic/ > $@
|
$(top_srcdir)/src/ $(top_srcdir)/src/heretic/ > $@
|
||||||
|
|
||||||
|
CMDLINE.heretic.md : CMDLINE.template.md $(top_srcdir)/src $(top_srcdir)/src/heretic
|
||||||
|
$(DOCGEN) $(DOCGEN_COMMON_ARGS) \
|
||||||
|
-M $(srcdir)/CMDLINE.template.md \
|
||||||
|
$(top_srcdir)/src/ $(top_srcdir)/src/heretic/ > $@
|
||||||
|
|
||||||
INSTALL.heretic: INSTALL.template
|
INSTALL.heretic: INSTALL.template
|
||||||
$(srcdir)/simplecpp -DHERETIC $(WIN32) \
|
$(srcdir)/simplecpp -DHERETIC $(WIN32) \
|
||||||
-DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Heretic" \
|
-DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Heretic" \
|
||||||
|
|
@ -135,6 +150,11 @@ CMDLINE.hexen : CMDLINE.template $(top_srcdir)/src $(top_srcdir)/src/hexen
|
||||||
-p $(srcdir)/CMDLINE.template \
|
-p $(srcdir)/CMDLINE.template \
|
||||||
$(top_srcdir)/src/ $(top_srcdir)/src/hexen/ > $@
|
$(top_srcdir)/src/ $(top_srcdir)/src/hexen/ > $@
|
||||||
|
|
||||||
|
CMDLINE.hexen.md : CMDLINE.template.md $(top_srcdir)/src $(top_srcdir)/src/hexen
|
||||||
|
$(DOCGEN) $(DOCGEN_COMMON_ARGS) \
|
||||||
|
-M $(srcdir)/CMDLINE.template.md \
|
||||||
|
$(top_srcdir)/src/ $(top_srcdir)/src/hexen/ > $@
|
||||||
|
|
||||||
INSTALL.hexen: INSTALL.template
|
INSTALL.hexen: INSTALL.template
|
||||||
$(srcdir)/simplecpp -DHEXEN $(WIN32) \
|
$(srcdir)/simplecpp -DHEXEN $(WIN32) \
|
||||||
-DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Hexen" \
|
-DLONG_GAME_NAME="@PACKAGE_SHORTNAME@ Hexen" \
|
||||||
|
|
@ -172,6 +192,11 @@ CMDLINE.strife : CMDLINE.template $(top_srcdir)/src $(top_srcdir)/src/strife
|
||||||
-p $(srcdir)/CMDLINE.template \
|
-p $(srcdir)/CMDLINE.template \
|
||||||
$(top_srcdir)/src/ $(top_srcdir)/src/strife/ > $@
|
$(top_srcdir)/src/ $(top_srcdir)/src/strife/ > $@
|
||||||
|
|
||||||
|
CMDLINE.strife.md : CMDLINE.template.md $(top_srcdir)/src $(top_srcdir)/src/strife
|
||||||
|
$(DOCGEN) $(DOCGEN_COMMON_ARGS) \
|
||||||
|
-M $(srcdir)/CMDLINE.template.md \
|
||||||
|
$(top_srcdir)/src/ $(top_srcdir)/src/strife/ > $@
|
||||||
|
|
||||||
INSTALL.strife: INSTALL.template
|
INSTALL.strife: INSTALL.template
|
||||||
$(srcdir)/simplecpp -DSTRIFE $(WIN32) \
|
$(srcdir)/simplecpp -DSTRIFE $(WIN32) \
|
||||||
-DLONG_EXE_NAME="@PROGRAM_PREFIX@strife" \
|
-DLONG_EXE_NAME="@PROGRAM_PREFIX@strife" \
|
||||||
|
|
@ -190,6 +215,7 @@ endif
|
||||||
EXTRA_DIST = $(man_MANS) $(MANPAGE_GEN_FILES) \
|
EXTRA_DIST = $(man_MANS) $(MANPAGE_GEN_FILES) \
|
||||||
wikipages \
|
wikipages \
|
||||||
CMDLINE.template \
|
CMDLINE.template \
|
||||||
|
CMDLINE.template.md \
|
||||||
INSTALL.template \
|
INSTALL.template \
|
||||||
simplecpp
|
simplecpp
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue