From 45c32f77308b1cc0cc13311f58bca9b4d5a94c5e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sun, 10 Feb 2002 17:50:58 +0000 Subject: [PATCH] shtool updates --- build/mkversion | 5 ++++- build/top.mk | 12 +++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/build/mkversion b/build/mkversion index b8133ee19f..4b64f0e6b1 100755 --- a/build/mkversion +++ b/build/mkversion @@ -48,9 +48,12 @@ WHOWHERE="$USER@`uname -n`:`pwd`" cat << __EOF__ /* * Copyright 1998-2002 The OpenLDAP Foundation - * COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory + * COPYING RESTRICTIONS APPLY. See COPYRIGHT file in top level directory * of this package for details. */ +static const char copyright[] = +"Copyright 1998-2002 The OpenLDAP Foundation\n" +"COPYING RESTRICTIONS APPLY\n"; $static $const char $SYMBOL[] = "@(#) \$$PACKAGE: $APPLICATION $VERSION ($WHEN) \$\n\t$WHOWHERE\n"; diff --git a/build/top.mk b/build/top.mk index dac1ce3cb6..4cec1aed30 100644 --- a/build/top.mk +++ b/build/top.mk @@ -43,6 +43,8 @@ OBJEXT = @OBJEXT@ BUILD_LIBS_DYNAMIC = @BUILD_LIBS_DYNAMIC@ +SHTOOL = $(top_builddir)/@SHTOOL@ + INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ @@ -112,12 +114,12 @@ BASENAME = basename CAT = cat CHMOD = chmod DATE = date -HOSTNAME = uname -n -LN = ln -LN_H = @LN_H@ -LN_S = @LN_S@ +HOSTNAME = $(SHTOOL) echo -e "%h%d" +LN = $(SHTOOL) mkln +LN_H = $(SHTOOL) mkln -f +LN_S = $(SHTOOL) mkln -f -s MAKEINFO = @MAKEINFO@ -MKDIR = mkdir -p +MKDIR = $(SHTOOL) mkdir -p MV = mv PWD = pwd RANLIB = @RANLIB@ -- 2.39.5