diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-13 17:32:00 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-03-13 17:32:00 +0000 |
commit | c615507e150592895980608d00601beed16d28b9 (patch) | |
tree | c88b1485744a22bed0a04b0696ed2c2f2e084d72 /utils | |
parent | 04c43fbfba86e71270319cd5554ee459da87ec31 (diff) | |
download | netsurf-c615507e150592895980608d00601beed16d28b9.tar.gz netsurf-c615507e150592895980608d00601beed16d28b9.tar.bz2 |
Set version using testament.h instead of old ARexx script
svn path=/trunk/netsurf/; revision=12028
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/svn-testament.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/svn-testament.pl b/utils/svn-testament.pl index 30240e927..e0f678b66 100755 --- a/utils/svn-testament.pl +++ b/utils/svn-testament.pl @@ -60,6 +60,11 @@ my %userinfo; # The information about the current user $userinfo{GECOS} = $gecos; } +# The current date, in AmigaOS version friendly format (dd.mm.yyyy) + +my $compiledate = `date +%d.%m.%Y`; +chomp $compiledate; + # Spew the testament out my $testament = ""; @@ -77,6 +82,7 @@ $hostname =~ s/"/\\"/g; $testament .= "#define WT_ROOT \"$qroot\"\n"; $testament .= "#define WT_HOSTNAME \"$hostname\"\n"; +$testament .= "#define WT_COMPILEDATE \"$compiledate\"\n"; my $url = $svninfo{url}; # This only works on 1.3.x and above |