From: Stefano Lattarini Date: Thu, 13 Dec 2012 12:22:52 +0000 (+0100) Subject: maint: add an explicative comment in Makefile X-Git-Tag: v1.12.6~11^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=811d4f3d28ccb30804492bc49998d6f4726faeaf;p=platform%2Fupstream%2Fautomake.git maint: add an explicative comment in Makefile * Makefile.am (web-manual-update): Here, about a slightly tricky feature of rsync(1) used in the recipe. Signed-off-by: Stefano Lattarini --- diff --git a/Makefile.am b/Makefile.am index aa899b3..172158b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1050,6 +1050,9 @@ web-manual-update: && $(CVS) -z3 -d :ext:$(CVS_USER)@$(WEBCVS_ROOT)/$(PACKAGE) \ co $(PACKAGE) \ && cd .. \ +## According to the rsync manpage, "a trailing slash on the source [...] +## avoids creating an additional directory level at the destination". +## So the trailing '/' after '$(web_manual_dir)' below is intended. && $(RSYNC) -avP $(web_manual_dir)/ $$tmp/$(PACKAGE)/manual \ && ( \ cd $$tmp/$(PACKAGE)/manual \