diff --git a/doc/cookbook/Makefile.am b/doc/cookbook/Makefile.am index b07785b0f..2104d2bd2 100644 --- a/doc/cookbook/Makefile.am +++ b/doc/cookbook/Makefile.am @@ -147,3 +147,12 @@ install-data-local: $(INSTALL_DATA) html/clutter-cookbook.devhelp $(DESTDIR)$(TARGET_DIR)/clutter-cookbook.devhelp .PHONY : doc + +COOKBOOK_BASE_PATH = /home/clutter/web/docs.clutter-project.org/docs/clutter-cookbook +COOKBOOK_VERSION = $(CLUTTER_MAJOR_VERSION).$(CLUTTER_MINOR_VERSION) +COOKBOOK_PATH = $(COOKBOOK_BASE_PATH)/$(COOKBOOK_VERSION) + +publish: html-build.stamp + scp -r html/* clutter@clutter-project.org:$(COOKBOOK_PATH) + +.PHONY : publish