X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=doc%2FMakefile;h=80c84409a0f459115de9d0905de22ecf7c667924;hb=479bdffa35d0b8d4e48868c8d20f3cb1549521ab;hp=a64ae56013f5dff87bd6343e940e1ea722294d9a;hpb=13cea7a96821165a10a8b2433af1da7508882b0a;p=fw%2Faltos 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