[Blends-commit] [SCM] blends-dev branch, master, updated. 4f15e66d6876d25900861aad33b0d8cb089f350a

Andreas Tille tille at debian.org
Sat Feb 1 23:43:55 UTC 2014


The following commit has been merged in the master branch:
commit 4f15e66d6876d25900861aad33b0d8cb089f350a
Author: Andreas Tille <tille at debian.org>
Date:   Sun Feb 2 00:43:17 2014 +0100

    Enhance `make publish`

diff --git a/doc/Makefile b/doc/Makefile
index ac667a9..653ec8e 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -30,8 +30,9 @@ LOCALE          := unset LC_ALL; unset LANG; unset LANGUAGE;
 
 ## ----------------------------------------------------------------------
 # this can and will be overriden by a higher level makefile
+PUBLISHHOST := dillon.debian.org
 # PUBLISHDIR := alioth.debian.org:/srv/alioth.debian.org/chroot/home/groups/blends/htdocs/blends
-PUBLISHDIR := blends.debian.org:/srv/blends.debian.org/www/blends
+PUBLISHDIR := $(PUBLISHHOST):/srv/blends.debian.org/www/blends
 
 # There is no difference between letter and a4, but a2 for instance works
 PAPERSIZE  := a4
@@ -89,7 +90,7 @@ publish: $(doc_html_en) $(doc_pdf_en)
 	rsync -azult --delete $(doc_html_en)/*.html $(PUBLISHDIR)
 	rsync -azult $(doc_pdf_en) $(PUBLISHDIR)
 	# sync to mirrors
-	ssh blends.debian.org "/usr/local/bin/static-update-component blends.debian.org"
+	ssh $(PUBLISHHOST) "/usr/local/bin/static-update-component blends.debian.org"
 
 clean:
 	for l in $(doc_lang); do \

-- 
Git repository for blends code



More information about the Blends-commit mailing list