mirror of
https://github.com/freedoom/freedoom.git
synced 2025-08-30 08:16:54 -04:00
fancify HTML output using the website style
This commit is contained in:
parent
d195875f2d
commit
c42cbd218d
2 changed files with 277 additions and 1 deletions
275
.adoc-layout.conf
Normal file
275
.adoc-layout.conf
Normal file
File diff suppressed because one or more lines are too long
3
Makefile
3
Makefile
|
@ -3,6 +3,7 @@
|
||||||
VERSION=$(shell git describe --abbrev=8 --dirty 2>/dev/null || echo v0.12.0)
|
VERSION=$(shell git describe --abbrev=8 --dirty 2>/dev/null || echo v0.12.0)
|
||||||
WADS=wads
|
WADS=wads
|
||||||
ASCIIDOC=asciidoc
|
ASCIIDOC=asciidoc
|
||||||
|
ADOCOPTS=--backend=html5 --conf-file=.adoc-layout.conf
|
||||||
ASCIIDOC_MAN=a2x -f manpage
|
ASCIIDOC_MAN=a2x -f manpage
|
||||||
CPP=scripts/simplecpp
|
CPP=scripts/simplecpp
|
||||||
DEUTEX=deutex
|
DEUTEX=deutex
|
||||||
|
@ -75,7 +76,7 @@ $(FREEDOOM2): wadinfo_phase2.txt subdirs
|
||||||
$(DEUTEX) $(DEUTEX_ARGS) -iwad -build wadinfo_phase2.txt $@
|
$(DEUTEX) $(DEUTEX_ARGS) -iwad -build wadinfo_phase2.txt $@
|
||||||
|
|
||||||
%.html: %.adoc
|
%.html: %.adoc
|
||||||
TZ=UTC $(ASCIIDOC) $<
|
$(ASCIIDOC) $(ADOCOPTS) $<
|
||||||
|
|
||||||
manual/freedoom-manual.pdf: manual/manual.adoc
|
manual/freedoom-manual.pdf: manual/manual.adoc
|
||||||
$(MAKE) -C manual
|
$(MAKE) -C manual
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue