diff options
author | Tom Tromey <tromey@redhat.com> | 1997-10-21 17:01:38 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-10-21 17:01:38 +0000 |
commit | d9193017631d0520f3e41d3f0e1eff65c50fe2f9 (patch) | |
tree | 14c14613e72b0dad051f35bf1857951020aa3f49 | |
parent | dcec7e301870063721d9368a5a1047d2ffb16de1 (diff) | |
download | automake-d9193017631d0520f3e41d3f0e1eff65c50fe2f9.tar.gz |
empty subdirs bug fix
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | TODO | 4 | ||||
-rw-r--r-- | lib/am/subdirs.am | 6 | ||||
-rw-r--r-- | subdirs.am | 6 |
5 files changed, 16 insertions, 5 deletions
@@ -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. @@ -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 @@ -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 diff --git a/lib/am/subdirs.am b/lib/am/subdirs.am index 46d62a72a..5eb305727 100644 --- a/lib/am/subdirs.am +++ b/lib/am/subdirs.am @@ -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"; \ diff --git a/subdirs.am b/subdirs.am index 46d62a72a..5eb305727 100644 --- a/subdirs.am +++ b/subdirs.am @@ -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"; \ |