]> sourceware.org Git - automake.git/commitdiff
empty subdirs bug fix
authorTom Tromey <tromey@redhat.com>
Tue, 21 Oct 1997 17:01:34 +0000 (17:01 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 21 Oct 1997 17:01:34 +0000 (17:01 +0000)
ChangeLog
THANKS
TODO
lib/am/subdirs.am
subdirs.am

index 618cc49e5247bfe69b5b27792aa9a42e5caa9640..1dcd4a5f97c1dde768ceef2b983f578f5bd08d58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 Tue Oct 21 00:39:44 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * subdirs.am (check-recursive installcheck-recursive
+       info-recursive dvi-recursive): Handle case when SUBDIRS is empty.
+       (maintainer-clean-recursive): Likewise.  From Assar Westerlund.
+
        * aclocal.in (scan_m4_files): If macro recognized, &search will
        return 1.
        (scan_configure): If AM_ macro not found, give error.
diff --git a/THANKS b/THANKS
index b3537cb6105103cef82b46cc171e191317095029..b838cdc160543746efed2c8a07ad35ac5ccb91cc 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -7,6 +7,7 @@ Alexander V. Lukyanov   lav@yars.free.net
 Alexandre Oliva                oliva@dcc.unicamp.br
 Andreas Schwab         schwab@lamothe.informatik.uni-dortmund.de
 Anthony Green          green@cygnus.com
+Assar Westerlund       assar@sics.se
 Bernard Urban          Bernard.Urban@meteo.fr
 Bill Fenner            fenner@parc.xerox.com
 David A. Swierczek     swiercze@mr.med.ge.com
diff --git a/TODO b/TODO
index 5a47ebfc03cbfc150d58c5d42aaf7b9a934a5ac6..d5be0ee60c32887d695da3f379a47eee4edc4c17 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,3 +1,5 @@
+* when cleaning, should recurse depth first
+
 * quoting bugs
   - how to install file with a space in its name?
 
@@ -10,7 +12,7 @@
 
 * add $(srcdir)/ before some dependencies?
 
-* mention PACKAGE/VERSIOn -vs- autoheader in manual
+* mention PACKAGE/VERSION -vs- autoheader in manual
 
 * define LINK if a program is mentioned, even if no C sources appear
 
index 46d62a72a7581fcf21f063dc979af0ea7830d8fe..5eb305727c08b13e63d7c67a04e53cb543db4e48 100644 (file)
@@ -28,7 +28,7 @@ all-recursive install-data-recursive install-exec-recursive \
 installdirs-recursive install-recursive uninstall-recursive @INSTALLINFO@ \
 check-recursive installcheck-recursive info-recursive dvi-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
-       for subdir in $(SUBDIRS); do \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
          (cd $$subdir && $(MAKE) $$target) \
@@ -46,7 +46,9 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
 mostlyclean-recursive clean-recursive distclean-recursive \
 maintainer-clean-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
-       rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \
+       rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+         rev="$$subdir $$rev"; \
+       done; \
        for subdir in $$rev; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
index 46d62a72a7581fcf21f063dc979af0ea7830d8fe..5eb305727c08b13e63d7c67a04e53cb543db4e48 100644 (file)
@@ -28,7 +28,7 @@ all-recursive install-data-recursive install-exec-recursive \
 installdirs-recursive install-recursive uninstall-recursive @INSTALLINFO@ \
 check-recursive installcheck-recursive info-recursive dvi-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
-       for subdir in $(SUBDIRS); do \
+       list='$(SUBDIRS)'; for subdir in $$list; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
          (cd $$subdir && $(MAKE) $$target) \
@@ -46,7 +46,9 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
 mostlyclean-recursive clean-recursive distclean-recursive \
 maintainer-clean-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
-       rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \
+       rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
+         rev="$$subdir $$rev"; \
+       done; \
        for subdir in $$rev; do \
          target=`echo $@ | sed s/-recursive//`; \
          echo "Making $$target in $$subdir"; \
This page took 0.03777 seconds and 5 git commands to generate.