diff options
author | Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> | 2013-02-19 15:04:57 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-19 06:51:29 -0800 |
commit | 17638aa7b0984352f5f5b360d0bfe50e4ee8235f (patch) | |
tree | 2769ceb2b51a1a2917f92c52f259280e48907266 /Documentation | |
parent | bc98b3f6f228e8857e76fc42eb658ae459215ab6 (diff) | |
download | subsurface-17638aa7b0984352f5f5b360d0bfe50e4ee8235f.tar.gz |
Cleanup more and rearrange targets.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index 1fbd88984..7e911e50f 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -5,25 +5,23 @@ ASCIIDOC = asciidoc A2X = a2x BROWSER = firefox -all: $(HTMLDOC) $(addprefix $(DOCNAME).,pdf text) +all: doc $(addprefix $(DOCNAME).,pdf text) -doc: $(HTMLDOC) +$(DOCNAME).text: $(DOCSOURCE) + $(A2X) -f text $< -show: $(HTMLDOC) - $(BROWSER) $< +$(DOCNAME).pdf: $(DOCSOURCE) + $(A2X) -f pdf $< -$(HTMLDOC): $(DOCSOURCE) +doc $(HTMLDOC): $(DOCSOURCE) $(ASCIIDOC) $< # Alternatively:: $(DOCNAME).xhtml: $(DOCSOURCE) $(A2X) --icons -f xhtml $< -$(DOCNAME).text: $(DOCSOURCE) - $(A2X) -f text $< - -$(DOCNAME).pdf: $(DOCSOURCE) - $(A2X) -f pdf $< +show: $(HTMLDOC) + $(BROWSER) $< clean: rm -f *~ docbook-xsl.css $(HTMLDOC) $(addprefix $(DOCNAME).,pdf text) |