General source tree makefile cleanups: Made `making xxx in yyy...' display

consistent in the source tree and replaced `/bin/rm' by `rm'.  Additonally
cleaned up the `make links' target: Remove unnecessary semicolons, subsequent
redundant removes, inline point.sh into mklink.sh to speed processing and no
longer clutter the display with confusing stuff. Instead only the actually
done links are displayed.
This commit is contained in:
Ralf S. Engelschall
1999-03-06 12:32:06 +00:00
parent 988788f697
commit bb8f3c5879
44 changed files with 237 additions and 3073 deletions

View File

@@ -21,15 +21,12 @@ do
done
to=..$to
#echo from=$from
#echo to =$to
#exit 1
if [ "$*"x != "x" ]; then
for i in $*
do
/bin/rm -f $from/$i
point.sh $to/$i $from/$i
rm -f $from/$i
ln -s $to/$i $from/$i
echo "$i => $from/$i"
done
fi
exit 0;

View File

@@ -1,4 +1,6 @@
#!/bin/sh
/bin/rm -f $2
rm -f $2
ln -s $1 $2
echo "$2 => $1"