diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-08-19 00:36:12 +0000 |
---|---|---|
committer | Andy Dougherty <doughera@lafcol.lafayette.edu> | 1996-08-19 00:36:12 +0000 |
commit | 6b9d15cba3c162e0aa500272b606d30bdf58a929 (patch) | |
tree | d9631c8b2305803dcacdee4d1d61c177558c1221 /makedepend.SH | |
parent | 0b7ed9495fa7de460d26ce01fe8b909352839cd4 (diff) | |
download | perl-6b9d15cba3c162e0aa500272b606d30bdf58a929.tar.gz |
Use Configure's $sh and $make_set_make variables.
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-x | makedepend.SH | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/makedepend.SH b/makedepend.SH index 93ab261a81..81d49db5bf 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -18,16 +18,13 @@ case "$0" in */*) cd `expr X$0 : 'X\(.*\)/'` ;; esac -: ${bin_sh=/bin/sh} - echo "Extracting makedepend (with variable substitutions)" rm -f makedepend $spitshell >makedepend <<!GROK!THIS! $startsh # makedepend.SH # -## To use an alternate make, set \$altmake in config.sh. -MAKE=${altmake-make} +MAKE=$make !GROK!THIS! $spitshell >>makedepend <<'!NO!SUBS!' @@ -135,7 +132,7 @@ rm .shlist.old if $test -s .deptmp; then for file in `cat .shlist`; do $echo `$expr X$file : 'X\(.*\).SH'`: $file $TOP/config.sh \; \ - $bin_sh $file >> .deptmp + $sh $file >> .deptmp done $echo "Updating $mf..." $echo "# If this runs make out of memory, delete /usr/include lines." \ @@ -162,7 +159,7 @@ else $sed -f .hsed >> $mf.new for file in `$cat .shlist`; do $echo `$expr X$file : 'X\(.*\).SH'`: $file $TOP/config.sh \; \ - $bin_sh $file >> $mf.new + $sh $file >> $mf.new done fi $rm -f $mf.old |