diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2007-02-15 03:49:43 +0000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2007-02-15 03:49:43 +0000 |
commit | b8a6f94325c46a4129922ad3dbb61ca30761299b (patch) | |
tree | f6e688825a494d98ba9dd55157fe695f3d721985 /manual/Makefile | |
parent | 7f0f19597ae605c10d37a9f6e749c49c254d2700 (diff) |
Add a help target(the default target) and format target to the manual
Makefile
Reformat the docs, I explained in a prior commit why this modifies
every file
git-svn-id: svn://localhost/ardour2/trunk@1463 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'manual/Makefile')
-rw-r--r-- | manual/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/manual/Makefile b/manual/Makefile index 4fa647f44a..76965262c2 100644 --- a/manual/Makefile +++ b/manual/Makefile @@ -9,6 +9,22 @@ CSSFILE ?= $(DOCNAME).css XSLTPROC ?= xsltproc #PWD = $(shell pwd) +help:: + @echo " The Following is a list of supported build targets:" + @echo + @echo " html:" + @echo " Build HTML version of ardour manual." + @echo + @echo " test:" + @echo " Validate DocBook XML source." + @echo + @echo " format:" + @echo " Format DocBook XML source using xmlformat." + @echo + @echo " clean:" + @echo " Remove temporary files." + @echo + # xsltproc -output option gives I/O errors because??, so # just move the html to the output directory html:: clean @@ -26,10 +42,19 @@ html:: clean .PHONY : html test:: + # validating book xmllint --noout --postvalid --xinclude $(XMLFILE) .PHONY : test +format:: test + @for file in `find xml/*.xml`; \ + do xmlformat/xmlformat.pl --in-place --backup .bak \ + --config-file xmlformat/xmlformat-ardour.conf $$file; \ + done + +.PHONY : format + clean:: @rm -rf $(OUTDIR) |