Makefile: replace hardcoded AsciiDoc commands for more generic ones

master
Mike Swanson 2014-10-07 09:39:21 -07:00
parent e558ec5de3
commit ee27f645f2
1 changed files with 5 additions and 5 deletions

View File

@ -96,17 +96,17 @@ $(FREEDOOM2): wadinfo_phase2.txt subdirs
rm -f $@
$(DEUTEX) $(DEUTEX_ARGS) -iwad -lumps -patch -flats -sounds -musics -graphics -sprites -levels -build wadinfo_phase2.txt $@
doc: BUILD-SYSTEM.adoc COMPILING.adoc README.adoc
asciidoc BUILD-SYSTEM.adoc
asciidoc COMPILING.adoc
asciidoc README.adoc
%.html: %.adoc
asciidoc $<
doc: $(patsubst %.adoc,%.html,$(wildcard *.adoc))
DISTDOCS=COPYING CREDITS README.html
.PHONY: dist
# Due to convoluted reasons, the WADs must directly proceed the game name.
dist: $(OBJS) doc
dist: $(OBJS) README.html
VERSION=$(VERSION) scripts/makepkgs freedm $(FREEDM) $(DISTDOCS)
VERSION=$(VERSION) scripts/makepkgs freedoom $(FREEDOOM1) $(FREEDOOM2) $(DISTDOCS)