summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-01-26 08:35:18 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-01-26 08:35:18 +0100
commit5b777203e3c1f3d8be6ada417acefc21488028e1 (patch)
tree02c15e94015cd6928293e270681520c1335ce24c
parent5dff1c98ebfc939af6049bd18353dc5d62624fb1 (diff)
New version system.
-rw-r--r--configure.in4
-rw-r--r--version.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index cf2cb51..ae23f9f 100644
--- a/configure.in
+++ b/configure.in
@@ -1,7 +1,9 @@
# Filename: configure.in
AC_INIT(src/drumgizmo.cc)
-AM_INIT_AUTOMAKE( drumgizmo, 0.1.0 )
+
+VERSION="`cat version.h | cut -d'\"' -f2`"
+AM_INIT_AUTOMAKE( drumgizmo, $VERSION )
AC_PROG_CXX
diff --git a/version.h b/version.h
new file mode 100644
index 0000000..97cf2a3
--- /dev/null
+++ b/version.h
@@ -0,0 +1 @@
+#define VERSION "0.9.1"