Commit bf0956d0 authored by Howard Chu's avatar Howard Chu
Browse files

Use CPP __FILE__ and __TIME__ (not as pretty, but faster) instead of `date`.

So version.c files only need to be generated once.
parent 60ac3f35
......@@ -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__
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment