Add 'publish' target to doc/Makefile
authorDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Sun, 27 Sep 2009 08:04:39 +0000 (12:04 +0400)
committerDmitry Kalyanov <Kalyanov.Dmitry@gmail.com>
Sun, 27 Sep 2009 08:04:39 +0000 (12:04 +0400)
doc/Makefile

index 099c2d6..1a077f3 100644 (file)
@@ -1,6 +1,10 @@
 all: doc.html tutorial.html gobject/index.html gtk/index.html gobject/style.css gtk/style.css gtk/let-ui.png gtk/let-ui-glext.png
 
-.PHONY: all archive
+.PHONY: all archive publish
+
+publish: archive
+       scp manual.tar.bz2 kdmitry@common-lisp.net:/project/cl-gtk2/manual.tar.bz2
+       ssh kdmitry@common-lisp.net 'cd /project/cl-gtk2/doc/ && rm -rf gtk && tar xf /project/cl-gtk2/manual.tar.bz2'
 
 archive: manual.tar.bz2