Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/makewhatis For install makefile, set DESTDIR on comm...



details:   https://anonhg.NetBSD.org/src/rev/d87d2a2e6f18
branches:  trunk
changeset: 467848:d87d2a2e6f18
user:      cjs <cjs%NetBSD.org@localhost>
date:      Tue Mar 30 03:17:26 1999 +0000

description:
For install makefile, set DESTDIR on command line rather than in makefile
so it overrides /etc/mk.conf as well as environment variables.

diffstat:

 libexec/makewhatis/makewhatis.sh |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 9c63a5fc8c2f -r d87d2a2e6f18 libexec/makewhatis/makewhatis.sh
--- a/libexec/makewhatis/makewhatis.sh  Tue Mar 30 03:12:28 1999 +0000
+++ b/libexec/makewhatis/makewhatis.sh  Tue Mar 30 03:17:26 1999 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: makewhatis.sh,v 1.17 1998/05/24 03:54:12 tv Exp $
+#      $NetBSD: makewhatis.sh,v 1.18 1999/03/30 03:17:26 cjs Exp $
 #
 # written by matthew green <mrg%eterna.com.au@localhost>, based on the
 # original by J.T. Conklin <jtc%netbsd.org@localhost> and Thorsten
@@ -53,12 +53,11 @@
 
 sort -u -o $TMP $TMP
 
-make -f - install <<_Install_Whatis_Db_
+make -f - DESTDIR="" install <<_Install_Whatis_Db_
 FILES=$TMP
 FILESDIR=$MANDIR
 FILESNAME=whatis.db
 NOOBJ=noobj
-DESTDIR=
 
 .include <bsd.prog.mk>
 _Install_Whatis_Db_



Home | Main Index | Thread Index | Old Index