From bb1a621e8ddb7df3472a35fc37c62eca9460dcd7 Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Thu, 30 Jul 2009 15:05:56 -0700 Subject: [PATCH] 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 --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 72b5917b..80df1688 100644 --- a/Makefile +++ b/Makefile @@ -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 \