summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-12-13 13:22:52 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-12-13 20:18:10 +0100
commit811d4f3d28ccb30804492bc49998d6f4726faeaf (patch)
tree196d83fb112685e5b44c7464804696be569eed93 /Makefile.am
parentf22f41c10e03a59b8db25d536be209a48cbd7f61 (diff)
downloadautomake-811d4f3d28ccb30804492bc49998d6f4726faeaf.tar.gz
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 <stefano.lattarini@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index aa899b3a8..172158b2a 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 \