summaryrefslogtreecommitdiff
path: root/sntp/include/copyright.def
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/include/copyright.def')
-rw-r--r--sntp/include/copyright.def30
1 files changed, 30 insertions, 0 deletions
diff --git a/sntp/include/copyright.def b/sntp/include/copyright.def
new file mode 100644
index 0000000..317ff6d
--- /dev/null
+++ b/sntp/include/copyright.def
@@ -0,0 +1,30 @@
+/* -*- Mode: Text -*- */
+
+copyright = {
+ date = "1970-2014";
+ owner = "The University of Delaware";
+ eaddr = "http://bugs.ntp.org, bugs@ntp.org";
+ type = ntp;
+};
+
+long-opts;
+config-header = config.h;
+environrc;
+no-misuse-usage;
+version-proc = ntpOptionPrintVersion;
+
+version = `
+eval VERSION=\`sed -e 's/.*,\\[//' -e 's/\\].*//' < ../sntp/m4/version.m4\`
+[ -z "${VERSION}" ] && echo "Cannot determine VERSION" && kill -TERM $AG_pid
+echo $VERSION`;
+
+version-value = ''; /* Don't use -v as a shortcut for --version */
+
+/*
+ * HMS: man pages already have this, and texi pages can use the
+ * values in sntp/include/version.texi .
+ */
+// doc-sub = {
+// sub-name = version;
+// sub-text = 's/#VERSION#/<<version>>/g';
+// };