summaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile18
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)