automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 6/8] maint: add an explicative comment in Makefile


From: Stefano Lattarini
Subject: [PATCH 6/8] maint: add an explicative comment in Makefile
Date: Thu, 13 Dec 2012 16:17:48 +0100

* Makefile.am (web-manual-update): Here, about a slightly tricky
feature of rsync(1) used in the recipe.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 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 \
-- 
1.8.0.1.347.gf94c325




reply via email to

[Prev in Thread] Current Thread [Next in Thread]