From: Hans U. N. <hu...@us...> - 2005-06-19 21:43:58
|
Update of /cvsroot/libexif/libexif/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18411 Modified Files: Makefile.am Log Message: upload API docs to libexif website Index: Makefile.am =================================================================== RCS file: /cvsroot/libexif/libexif/doc/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -p -d -r1.3 -r1.4 --- Makefile.am 24 Apr 2005 09:00:28 -0000 1.3 +++ Makefile.am 19 Jun 2005 21:43:49 -0000 1.4 @@ -6,6 +6,7 @@ if HAVE_DOXYGEN DOXYGEN_FILES = DOXYGEN_STAMPS = $(DOXYGEN_OUTPUT_DIR).stamp +DOXYGEN_UPLOAD = $(DOXYGEN_OUTPUT_DIR).uploaded # FIXME: Depending on the source files would be sufficient... $(DOXYGEN_OUTPUT_DIR).stamp: Doxyfile $(top_builddir)/libexif/libexif.la @@ -31,6 +32,12 @@ uninstall-apidocs: clean-apidocs: rm -rf $(DOXYGEN_OUTPUT_DIR) +$(DOXYGEN_UPLOAD): $(DOXYGEN_STAMPS) + find $(DOXYGEN_OUTPUT_DIR) \( -type d -exec chmod a+rx,go-w,g+s {} \; \) \ + -or \( -type f -exec chmod a+r {} \; \) + rsync -avz --progress $(DOXYGEN_OUTPUT_DIR)/libexif-api.html/ sf:/home/users/h/hu/hun/libexif/htdocs/api/ + ssh "sf" "find /home/groups/g/gp/libexif/htdocs/api \( -type d -exec chgrp libexif {} \; -exec chmod g+rwxs,a+rx {} \; \) -or \( -type f -exec chgrp libexif {} \; -exec chmod g+rw {} \; \( -name '*.html' -or -name '*.png' -or -name '*.php' -or -name '*.jpg' -or -name '*.css' \) -exec chmod a+r {} \; \)" + endif @@ -50,5 +57,7 @@ uninstall-local: uninstall-apidocs clean-local: clean-apidocs +upload: $(DOXYGEN_UPLOAD) + CLEANFILES = $(DOXYGEN_FILES) $(DOXYGEN_STAMPS) |