Makefile: add doc target to make pretty HTML-ized versions of documents

Not adding to the all target of the Makefile (which is the default when
make is invoked without parameters) as it would introduce an artificial
build dependency on asciidoc; instead, "make doc" is to be used when you
know you both want the *.html files and have asciidoc installed.

Signed-off-by: Mike Swanson <mikeonthecomputer@gmail.com>
This commit is contained in:
Mike Swanson 2009-07-30 15:05:56 -07:00
parent 678cbd334a
commit bb1a621e8d

View file

@ -43,9 +43,6 @@ OBJS = \
$(WADS)/doom.wad \
$(WADS)/freedm.wad
# disable this for now
# $(WADS)/freedoom_hires.zip
all : $(OBJS)
subdirs:
@ -172,8 +169,12 @@ $(WADS)/doom1.wad : wadinfo_sw.txt force
dist : $(OBJS)
scripts/makepkgs $(OBJS)
doc:
asciidoc BUILD-SYSTEM
asciidoc README
clean:
rm -f deutex.log $(OBJS) \
rm -f *.html deutex.log $(OBJS) \
./wadinfo.txt ./wadinfo_sw.txt \
./wadinfo_freedm.txt ./wadinfo_iwad.txt \
./wadinfo_ult.txt \