maint: add an explicative comment in Makefile
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 13 Dec 2012 12:22:52 +0000 (13:22 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 13 Dec 2012 19:18:10 +0000 (20:18 +0100)
* 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>
Makefile.am

index aa899b3..172158b 100644 (file)
@@ -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 \