blob: fcefb1fa32f6c28faae394bbc0785a5ecf749e5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
?RCS: $Id: lns.U,v $
?RCS:
?RCS: $Log: lns.U,v $
?RCS:
?MAKE:lns: ln touch
?MAKE: -pick add $@ %<
?S:lns:
?S: This variable holds the name of the command to make
?S: symbolic links (if they are supported). It can be used
?S: in the Makefile. It is either 'ln -s' or 'ln'
?S:.
?X: We can't rely on d_symlink because that may be listed in the
?X: C library but unimplemented.
: determine whether symbolic links are supported
$touch blurfl
if $ln -s blurfl sym > /dev/null 2>&1 ; then
lns="$ln -s"
else
lns="$ln"
fi
rm -f blurfl sym
|