mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup more and rearrange targets.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bc98b3f6f2
commit
17638aa7b0
1 changed files with 11 additions and 13 deletions
|
@ -5,19 +5,7 @@ ASCIIDOC = asciidoc
|
|||
A2X = a2x
|
||||
BROWSER = firefox
|
||||
|
||||
all: $(HTMLDOC) $(addprefix $(DOCNAME).,pdf text)
|
||||
|
||||
doc: $(HTMLDOC)
|
||||
|
||||
show: $(HTMLDOC)
|
||||
$(BROWSER) $<
|
||||
|
||||
$(HTMLDOC): $(DOCSOURCE)
|
||||
$(ASCIIDOC) $<
|
||||
|
||||
# Alternatively::
|
||||
$(DOCNAME).xhtml: $(DOCSOURCE)
|
||||
$(A2X) --icons -f xhtml $<
|
||||
all: doc $(addprefix $(DOCNAME).,pdf text)
|
||||
|
||||
$(DOCNAME).text: $(DOCSOURCE)
|
||||
$(A2X) -f text $<
|
||||
|
@ -25,6 +13,16 @@ $(DOCNAME).text: $(DOCSOURCE)
|
|||
$(DOCNAME).pdf: $(DOCSOURCE)
|
||||
$(A2X) -f pdf $<
|
||||
|
||||
doc $(HTMLDOC): $(DOCSOURCE)
|
||||
$(ASCIIDOC) $<
|
||||
|
||||
# Alternatively::
|
||||
$(DOCNAME).xhtml: $(DOCSOURCE)
|
||||
$(A2X) --icons -f xhtml $<
|
||||
|
||||
show: $(HTMLDOC)
|
||||
$(BROWSER) $<
|
||||
|
||||
clean:
|
||||
rm -f *~ docbook-xsl.css $(HTMLDOC) $(addprefix $(DOCNAME).,pdf text)
|
||||
rm -fr images
|
||||
|
|
Loading…
Add table
Reference in a new issue