fix publish target in doc/Makefile
authorBdale Garbee <bdale@gag.com>
Mon, 29 Nov 2010 02:46:03 +0000 (19:46 -0700)
committerBdale Garbee <bdale@gag.com>
Mon, 29 Nov 2010 02:46:03 +0000 (19:46 -0700)
doc/Makefile

index a64ae56013f5dff87bd6343e940e1ea722294d9a..ef3ef6d1b38a40aa44337374eaef11d6ee8e957e 100644 (file)
@@ -23,8 +23,12 @@ PDFSTYLE=
 all:   $(HTML) $(PDF)
 
 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