Commit f28a1469 by Doug Evans

Also accept arguments for when invoked by Makefile.

From-SVN: r14244
parent 171e10fe
...@@ -23,8 +23,17 @@ ...@@ -23,8 +23,17 @@
rm -f Make-lang rm -f Make-lang
touch Make-lang touch Make-lang
savesrcdir=$srcdir # We can either be invoked with . from configure or from Makefile.
savesubdirs="$subdirs" # Some shells can't pass arguments to source'd scripts.
# ??? This needs some rethinking.
if [ x"$1" != x ] ; then
savesrcdir=$1
savesubdirs=$2
else
savesrcdir=$srcdir
savesubdirs=$subdirs
fi
for subdir in . $savesubdirs for subdir in . $savesubdirs
do do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment