diff options
| author | cjs <cjs@NetBSD.org> | 1999-03-30 03:17:26 +0000 |
|---|---|---|
| committer | cjs <cjs@NetBSD.org> | 1999-03-30 03:17:26 +0000 |
| commit | 6bfea0ecb9d902fd78c8a81d6643e787070d6dfb (patch) | |
| tree | 4bdf1a7a8c2dda3b2c09a1b3753af3a3cab2d481 /libexec | |
| parent | a20da108b113fd4d93bdc681cd40ff0767a7e03a (diff) | |
For install makefile, set DESTDIR on command line rather than in makefile
so it overrides /etc/mk.conf as well as environment variables.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/makewhatis/makewhatis.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/makewhatis/makewhatis.sh b/libexec/makewhatis/makewhatis.sh index 03038b7e01f..cf136efc1be 100644 --- a/libexec/makewhatis/makewhatis.sh +++ b/libexec/makewhatis/makewhatis.sh @@ -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>, based on the # original by J.T. Conklin <jtc@netbsd.org> and Thorsten @@ -53,12 +53,11 @@ done >> $TMP 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_ |
