(Makefile): Pass srcdir, subdirs via environment vars, like configure.in.

From-SVN: r14245
This commit is contained in:
Doug Evans 1997-06-14 17:53:48 +00:00
parent f28a1469fc
commit fb8e2f8329

View File

@ -655,7 +655,9 @@ T =
Makefile: $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/version.c \
$(xmake_file) $(tmake_file) \
$(LANG_MAKEFILES)
$(SHELL) configure.frag $(srcdir) "$(SUBDIRS)"
srcdir="$(srcdir)" ; export srcdir ; \
subdirs="$(SUBDIRS)" ; export subdirs ; \
$(SHELL) configure.frag
cp config.status config.run
$(SHELL) config.run
rm -f config.run