X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/a05e4467dee55248f2135dcb532b4729154d69c5..750e9f84216e473903d634360aa49148c8ba72ec:/scripts/make-version-string diff --git a/scripts/make-version-string b/scripts/make-version-string index 210e84f..41a7115 100755 --- a/scripts/make-version-string +++ b/scripts/make-version-string @@ -24,8 +24,12 @@ if(exists $ENV{CC}) { $compiler = $cv[0]; } die "no version found\n" unless defined $version; -output("DisOrder $version\n"); -output(" configure options: $options\n") if defined $options; -output(" compiler: $cc\n") if defined $compiler; -output(" version: $compiler\n") if defined $cc; +output("%s (DisOrder) $version\n"); +output("Copyright (C) 2003-2008 Richard Kettlewell et al\n"); +output("License GPLv3+: GNU GPL version 3 or later:\n"); +output(" http://www.gnu.org/licenses/gpl-3.0.html\n"); +output("This is free software: you are free to change and redistribute it.\n"); +output("There is NO WARRANTY, to the extent permitted by law.\n"); +output("WARNING: -Werror not used in this build\n") if $cc !~ /-Werror/; + close STDOUT or die "$0: stdout: $!\n";