mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 06:13:19 -05:00
Use CPP __FILE__ and __TIME__ (not as pretty, but faster) instead of date.
So version.c files only need to be generated once.
This commit is contained in:
parent
60ac3f352e
commit
bf0956d056
1 changed files with 1 additions and 2 deletions
|
|
@ -42,7 +42,6 @@ if test $# != 1 ; then
|
|||
fi
|
||||
|
||||
APPLICATION=$1
|
||||
WHEN=`date`
|
||||
WHOWHERE="$USER@`uname -n`:`pwd`"
|
||||
|
||||
cat << __EOF__
|
||||
|
|
@ -56,6 +55,6 @@ static const char copyright[] =
|
|||
"COPYING RESTRICTIONS APPLY\n";
|
||||
|
||||
$static $const char $SYMBOL[] =
|
||||
"@(#) \$$PACKAGE: $APPLICATION $VERSION ($WHEN) \$\n\t$WHOWHERE\n";
|
||||
"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n\t$WHOWHERE\n";
|
||||
|
||||
__EOF__
|
||||
|
|
|
|||
Loading…
Reference in a new issue