summaryrefslogtreecommitdiff
path: root/libnsl/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-18 10:51:06 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-18 10:51:06 +0000
commitff23ecf6698ed48d18a612aadf1fbae64a47b207 (patch)
tree8f13b2280bd747935544e270907ec25002901341 /libnsl/Makefile
parentdd3fb0f8c1c10fcee804f11a4eed84316c5f694b (diff)
Peter Kjellerstedt writes:
ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
Diffstat (limited to 'libnsl/Makefile')
-rw-r--r--libnsl/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnsl/Makefile b/libnsl/Makefile
index 920da032a..7566c2dfd 100644
--- a/libnsl/Makefile
+++ b/libnsl/Makefile
@@ -50,8 +50,8 @@ shared: all
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBNSL_SHARED).$(MAJOR_VERSION)
$(INSTALL) -m 644 $(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib
- (cd $(TOPDIR)lib && ln -sf $(LIBNSL_SHARED_FULLNAME) $(LIBNSL_SHARED));
- (cd $(TOPDIR)lib && ln -sf $(LIBNSL_SHARED_FULLNAME) $(LIBNSL_SHARED).$(MAJOR_VERSION));
+ $(LN) -sf $(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBNSL_SHARED)
+ $(LN) -sf $(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBNSL_SHARED).$(MAJOR_VERSION)
clean:
$(RM) *.[oa] *~ core $(LIBNSL_SHARED)* $(LIBNSL_SHARED_FULLNAME)*