summaryrefslogtreecommitdiff
path: root/amiga/version.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-03-13 17:32:00 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-03-13 17:32:00 +0000
commitc615507e150592895980608d00601beed16d28b9 (patch)
treec88b1485744a22bed0a04b0696ed2c2f2e084d72 /amiga/version.c
parent04c43fbfba86e71270319cd5554ee459da87ec31 (diff)
downloadnetsurf-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 'amiga/version.c')
-rw-r--r--amiga/version.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/amiga/version.c b/amiga/version.c
new file mode 100644
index 000000000..b2e01a1f0
--- /dev/null
+++ b/amiga/version.c
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2011 Chris Young <chris@unsatisfactorysoftware.co.uk>
+ *
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
+ *
+ * NetSurf is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * NetSurf is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "utils/testament.h"
+
+#define NETSURF_VERSION_MAJOR "3"
+
+static const __attribute__((used)) char *verstag = "\0$VER: NetSurf " NETSURF_VERSION_MAJOR "." WT_REVID " (" WT_COMPILEDATE ")\0";
+const char * const versvn = "SVN " WT_REVID;
+const char * const verdate = WT_COMPILEDATE;
+const char * const verarexx = NETSURF_VERSION_MAJOR "." WT_REVID;