chiark / gitweb /
Adjust --version output to more closely match GNU standards
[disorder] / scripts / make-version-string
index 210e84fdda572cd157fc4f9dbb107af45799124d..dfcca410158dcde9ef04f1a1ad7f776ba5889a11 100755 (executable)
@@ -24,8 +24,14 @@ if(exists $ENV{CC}) {
     $compiler = $cv[0];
 }
 die "no version found\n" unless defined $version;
-output("DisOrder $version\n");
+output("%s (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("Copyright (C) 2003-2008 Richard Kettlewell et al\n");
+output("License GPLv2+: GNU GPL version 2 or later:\n");
+output("        http://www.gnu.org/licenses/old-licenses/gpl-2.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");
+
 close STDOUT or die "$0: stdout: $!\n";