docs: recursive into sub-directories on 'make upload'
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 24 Jan 2011 11:59:22 +0000 (11:59 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 24 Jan 2011 11:59:22 +0000 (11:59 +0000)
docs/Makefile.am

index f782512..9f9f150 100644 (file)
@@ -9,3 +9,12 @@ DIST_SUBDIRS = libs
 
 EXTRA_DIST = \
        version.entities.in
+
+upload:
+       @if test "x$(SUBDIRS)" != x; then \
+         for a in $(SUBDIRS); do \
+           cd $$a; \
+           make upload; \
+           cd ..; \
+         done; \
+       fi