X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=doc%2FMakefile;h=80c84409a0f459115de9d0905de22ecf7c667924;hp=a64ae56013f5dff87bd6343e940e1ea722294d9a;hb=4e2c18249e16c98cf5f7dccdf8d3b84bc473863a;hpb=13cea7a96821165a10a8b2433af1da7508882b0a diff --git a/doc/Makefile b/doc/Makefile index a64ae560..80c84409 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -22,15 +22,21 @@ PDFSTYLE= all: $(HTML) $(PDF) +install: all + publish: $(DOC) - cp $(DOC)altusmetrum.html /home/bdale/web/altusmetrum/AltOS/doc/ - (cd /home/bdale/web/altusmetrum ; echo "update docs" | git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; git push) + cp $(DOC) /home/bdale/web/altusmetrum/AltOS/doc/ + (cd /home/bdale/web/altusmetrum ; \ + git add /home/bdale/web/altusmetrum/AltOS/doc/* ; \ + echo "update docs" | \ + git commit -F - /home/bdale/web/altusmetrum/AltOS/doc/* ; \ + git push) clean: - rm -f *.html *.pdf *.fo + rm -f $(HTML) $(PDF) *.fo distclean: - rm -f *.html *.pdf *.fo + rm -f $(HTML) $(PDF) *.fo indent: altusmetrum.xsl xmlindent -i 2 < altusmetrum.xsl > altusmetrum.new