[cairo-commit] cairo ChangeLog,1.961,1.962 Makefile.am,1.22,1.23

Carl Worth commit at pdx.freedesktop.org
Tue Aug 23 09:10:48 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo
In directory gabe:/tmp/cvs-serv18844

Modified Files:
	ChangeLog Makefile.am 
Log Message:

2005-08-23  Carl Worth  <cworth at cworth.org>

        * Makefile.am: Add docs-publish target to build and push
        documentation, (since our nightly server-side cron job is not
        working right now).


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.961
retrieving revision 1.962
diff -u -d -r1.961 -r1.962
--- ChangeLog	23 Aug 2005 15:21:46 -0000	1.961
+++ ChangeLog	23 Aug 2005 16:10:45 -0000	1.962
@@ -1,5 +1,11 @@
 2005-08-23  Carl Worth  <cworth at cworth.org>
 
+	* Makefile.am: Add docs-publish target to build and push
+	documentation, (since our nightly server-side cron job is not
+	working right now).
+
+2005-08-23  Carl Worth  <cworth at cworth.org>
+
 	* BUGS:
 	* src/cairo-xlib-screen.c: Move comment about missing cleanup of
 	caches on XCloseDisplay from BUGS to a

Index: Makefile.am
===================================================================
RCS file: /cvs/cairo/cairo/Makefile.am,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- Makefile.am	22 Aug 2005 22:49:04 -0000	1.22
+++ Makefile.am	23 Aug 2005 16:10:45 -0000	1.23
@@ -26,11 +26,14 @@
 # or		make release-publish
 
 RELEASE_UPLOAD_HOST =   cairographics.org
-RELEASE_UPLOAD_DIR =    /srv/cairo.freedesktop.org/www/snapshots
+RELEASE_UPLOAD_BASE =	/srv/cairo.freedesktop.org/www
+RELEASE_UPLOAD_DIR =	$(RELEASE_UPLOAD_BASE)/snapshots
 RELEASE_URL_BASE = 	http://cairographics.org/snapshots
 RELEASE_ANNOUNCE_LIST = cairo-announce at cairographics.org (and CC gnome-announce-list at gnome.org)
 
-CVS=cvs
+MANUAL_DATED =		cairo-manual-`date +%Y%m%d`
+MANUAL_TAR_FILE = 	$(MANUAL_DATED).tar.gz
+MANUAL_UPLOAD_DIR =	$(RELEASE_UPLOAD_BASE)
 
 tar_file = $(PACKAGE)-$(VERSION).tar.gz
 sha1_file = $(tar_file).sha1
@@ -122,4 +125,12 @@
 	@echo "Last but not least, do not forget to bump up the micro"
 	@echo "version component to the next (odd) number and commit."
 
+# XXX: Depending on all here is rather overkill. We don't really need
+# the library built in order to create the documentation.
+docs-publish: all
+	cp -a doc/public/html $(MANUAL_DATED)
+	tar czf $(MANUAL_TAR_FILE) $(MANUAL_DATED)
+	scp $(MANUAL_TAR_FILE) $(RELEASE_UPLOAD_HOST):$(MANUAL_UPLOAD_DIR)
+	ssh $(RELEASE_UPLOAD_HOST) "cd $(MANUAL_UPLOAD_DIR) && tar xzf $(MANUAL_TAR_FILE) && rm -f manual && ln -s $(MANUAL_DATED) manual && ln -sf $(MANUAL_TAR_FILE) cairo-manual.tar.gz"
+
 .PHONY: release-verify-even-micro release-verify-newer release-remove-old release-cleanup-group-sticky release-check release-upload release-publish



More information about the cairo-commit mailing list