mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-06 19:25:46 -04:00
make: allow controlling asciidoc implementation via variables
ASCIIDOC and ASCIIDOC_MAN have been added, which default to the (Python-based) reference implementation, but may be changed to asciidoctor simply. The manpages have been modified to use single-line section headings for AsciiDoctor compatibility.
This commit is contained in:
parent
14280d32e2
commit
db2d48a8ce
3 changed files with 11 additions and 13 deletions
3
dist/Makefile
vendored
3
dist/Makefile
vendored
|
@ -1,10 +1,11 @@
|
|||
ASCIIDOC_MAN=a2x -f manpage
|
||||
.SUFFIXES: .adoc .6
|
||||
|
||||
all: freedm.6 freedoom1.6 freedoom2.6 freedm.png freedoom1.png freedoom2.png
|
||||
|
||||
%.6: freedoom.adoc
|
||||
sed -e s/freedoom/$*/ $< > $*.adoc
|
||||
a2x -f manpage $*.adoc
|
||||
$(ASCIIDOC_MAN) $*.adoc
|
||||
|
||||
freedm.png: ../graphics/titlepic/freedm_title2.png
|
||||
./pillow-resize $< $@ 64 64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue