From 7615f96a8d7ffa3dfb2a747f47b432feba6e4e54 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 5 Sep 1996 23:10:01 +0000 Subject: [PATCH] * Makefile.in (all-unix): Fix symlinking so building in a link farm or in source directory won't result in dangling db-ndbm.h symlink. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9036 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/ChangeLog | 6 ++++++ src/util/Makefile.in | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/util/ChangeLog b/src/util/ChangeLog index 79150652a..86cf3021b 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,9 @@ +Thu Sep 5 18:48:46 1996 Tom Yu + + * Makefile.in (all-unix): Fix symlinking so building in a link + farm or in source directory won't result in dangling + db-ndbm.h symlink. + Sat Aug 31 01:34:41 1996 Ken Raeburn * makeshlib.sh (*-*-aix*): Echo more stuff before running it. diff --git a/src/util/Makefile.in b/src/util/Makefile.in index 12fcfb56e..ce02ef613 100644 --- a/src/util/Makefile.in +++ b/src/util/Makefile.in @@ -25,7 +25,11 @@ all-unix:: ln -s ../util/db2/obj/db.h ../include ln -s ../util/db2/obj/db-config.h ../include ln -s ../util/db2/obj/libdb.a ../lib - ln -s $(srcdir)/db2/include/db-ndbm.h ../include + if test '$(srcdir)' = . ; then \ + ln -s ../util/db2/include/db-ndbm.h ../include; \ + else \ + ln -s $(srcdir)/db2/include/db-ndbm.h ../include; \ + fi unixmac: libupdate -- 2.26.2