summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@gnome.org>2007-07-12 10:22:36 -0500
committerJonathon Jongsma <jjongsma@gnome.org>2007-07-12 10:22:36 -0500
commit76f5ca4d67e0455c24c69d80562f5854ad7522c1 (patch)
tree581e4e0ded34271698f240ee08852055fda84c4c /docs
parent9bd228fc5d0b73dcc261aa9f40bf94bc02f42576 (diff)
Push docs and a doc-tarball to the web on releasev1.4.0
* Makefile.am: add doc-publish target and make release-publish depend on this. This automatically uploads the new API documentation on release * docs/reference/Makefile.am: upload the html documentation and a tarball of the documentation to the cairographics.org site
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/Makefile.am13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 59c27e0..14c9f3a 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -16,15 +16,18 @@ $(index_html): $(DOXYGEN_CONFIGFILE) $(wildcard $(top_srcdir)/cairomm/*.h) $(HTM
doxygen $(DOXYGEN_CONFIGFILE) \
2> doxygen-warnings.txt | tee doxygen-output.txt && cat doxygen-warnings.txt
-html: $(index_html)
+CAIROMM_DOC_TARNAME=$(PACKAGE)-doc.tar.gz
-cairomm-reference-html.tar.gz: $(index_html)
- tar cf - html | gzip -c --best >$@
+doc-tarball : $(CAIROMM_DOC_TARNAME)
+
+$(CAIROMM_DOC_TARNAME): $(index_html)
+ tar cf - html | gzip -c --best > $@
referencedir = $(datadir)/doc/libcairomm-1.0/reference/html
-publish: html
- rsync -avz --rsh ssh --cvs-exclude html/ $(WEB_SERVER):$(WEB_SERVER_PATH)
+publish: $(index_html) doc-tarball
+ rsync -avz --rsh ssh html/ $(WEB_SERVER):$(WEB_SERVER_PATH)
+ rsync -avz --rsh ssh $(CAIROMM_DOC_TARNAME) $(WEB_SERVER):$(WEB_SERVER_PATH)
install-reference: $(index_html)
@$(NORMAL_INSTALL)