From 811d4f3d28ccb30804492bc49998d6f4726faeaf Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 13 Dec 2012 13:22:52 +0100 Subject: [PATCH] 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 --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- 2.7.4