build: Rule for quick publishing of the cookbook

Just call `make publish`.
This commit is contained in:
Emmanuele Bassi 2010-08-14 08:53:18 +01:00
parent 94c8635d0f
commit e43215a5c9

View File

@ -147,3 +147,12 @@ install-data-local:
$(INSTALL_DATA) html/clutter-cookbook.devhelp $(DESTDIR)$(TARGET_DIR)/clutter-cookbook.devhelp $(INSTALL_DATA) html/clutter-cookbook.devhelp $(DESTDIR)$(TARGET_DIR)/clutter-cookbook.devhelp
.PHONY : doc .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