summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"