diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 00000000..5daf00c9 --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,19 @@ +XSLTPROC = xsltproc --xinclude + +default: + @echo -e "The following make targets are available:\n" + @echo -e "\thtml\t\tA single HTML page\n" + @echo -e "\tman\t\tMan pages for all functions\n" + +all: html man + +clean: + rm -rf html man + +html: + $(XSLTPROC) -o html/api.html src/api/html.xsl src/api/api.xml + +man: + $(XSLTPROC) -o man/ src/api/man.xsl src/api/api.xml + +.SILENT: diff --git a/doc/src/api/api.xml b/doc/src/api/api.xml index eda671d8..f62a1dbc 100644 --- a/doc/src/api/api.xml +++ b/doc/src/api/api.xml @@ -1,5 +1,4 @@ - + +]> + + + + + + + + \ No newline at end of file diff --git a/doc/src/api/man.xsl b/doc/src/api/man.xsl new file mode 100644 index 00000000..5074bbbd --- /dev/null +++ b/doc/src/api/man.xsl @@ -0,0 +1,4 @@ + + + + \ No newline at end of file