summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-03-15 04:49:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-03-15 04:49:10 +0000
commit47359646ddaf861d81d418f3d16f33e47123bae1 (patch)
tree87c4e383f277259846f01c4a85750074a5e73326 /makedepend.SH
parenta79a9020e55dfcfe528d3db9eb374a85be7f2602 (diff)
downloadperl-47359646ddaf861d81d418f3d16f33e47123bae1.tar.gz
The section needs to be in the makedepend script
(from Jan-Erik Karlsson). p4raw-id: //depot/perl@15231
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH8
1 files changed, 4 insertions, 4 deletions
diff --git a/makedepend.SH b/makedepend.SH
index d18138d773..0806021da8 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -18,10 +18,6 @@ case "$0" in
*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
esac
-case "$osname" in
-amigaos) cat=/bin/cat ;; # must be absolute
-esac
-
echo "Extracting makedepend (with variable substitutions)"
rm -f makedepend
$spitshell >makedepend <<!GROK!THIS!
@@ -62,6 +58,10 @@ esac
PATH=".$path_sep..$path_sep$PATH"
export PATH
+case "$osname" in
+amigaos) cat=/bin/cat ;; # must be absolute
+esac
+
$cat /dev/null >.deptmp
$rm -f *.c.c c/*.c.c
if test -f Makefile; then