diff options
author | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-03-13 12:09:01 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@netsurf-browser.org> | 2011-03-13 12:09:01 +0000 |
commit | 8695000b833f9464ef414e09cb2a96958fe96c8b (patch) | |
tree | 51c69debd9991436df3e5eced5a20e40a77c8ed9 /utils | |
parent | 37f17e4d73b8614d5d2e7a71c4b7f0a8c066b0e3 (diff) | |
download | netsurf-8695000b833f9464ef414e09cb2a96958fe96c8b.tar.gz netsurf-8695000b833f9464ef414e09cb2a96958fe96c8b.tar.bz2 |
Slightly better out-of-svn build info
svn path=/trunk/netsurf/; revision=12022
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/svn-testament.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/utils/svn-testament.pl b/utils/svn-testament.pl index 35df4af15..f159f00d4 100755 --- a/utils/svn-testament.pl +++ b/utils/svn-testament.pl @@ -31,8 +31,8 @@ if ( $svn_present ) { } } else { $svninfo{repositoryroot} = "http://nowhere/"; - $svninfo{url} = "http://nowhere/netsurf/trunk/"; - $svninfo{revision} = "0"; + $svninfo{url} = "http://nowhere/tarball/"; + $svninfo{revision} = "unknown"; } my %svnstatus; # The SVN status output @@ -78,6 +78,9 @@ if ($url =~ m@/trunk/@) { if ($url =~ m@/tags/@) { $testament .= "#define WT_BRANCHISTAG 1\n"; } +if ($url =~ m@/tarball/@) { + $testament .= "#define WT_NO_SVN 1\n"; +} $testament .= "#define WT_REVID \"$svninfo{revision}\"\n"; $testament .= "#define WT_MODIFIED " . scalar(keys %svnstatus) . "\n"; $testament .= "#define WT_MODIFICATIONS {\\\n"; |