Commit 23d0f832ae648f1d0baae0f9cee1abbb4a42e029

sammy 2008-05-19T10:05:51

* Add a "make upload-doc" rule for easy online documentation updates.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/Makefile.am b/Makefile.am
index 7e33536..89a8a7f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,4 +34,11 @@ all-local:
 	fi
 	@$(ECHO)
 
+# Upload documentation
+DOC = docs/html docs/latex/ftgl.pdf
+HOST = ftgl.sf.net
+DIR = /home/groups/f/ft/ftgl/htdocs/
+upload-doc:
+	tar cz $(DOC) | ssh $(HOST) "cd $(DIR) && rm -Rf $(DOC) && tar xvz"
+
 NULL =