aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION.txt1
-rw-r--r--VERSION.txt.in1
-rw-r--r--doc/iemmatrix-meta.pd.in (renamed from doc/iemmatrix-meta.pd)4
-rw-r--r--src/configure.ac2
4 files changed, 5 insertions, 3 deletions
diff --git a/VERSION.txt b/VERSION.txt
deleted file mode 100644
index 49d5957..0000000
--- a/VERSION.txt
+++ /dev/null
@@ -1 +0,0 @@
-0.1
diff --git a/VERSION.txt.in b/VERSION.txt.in
new file mode 100644
index 0000000..a24f987
--- /dev/null
+++ b/VERSION.txt.in
@@ -0,0 +1 @@
+@PACKAGE_VERSION@
diff --git a/doc/iemmatrix-meta.pd b/doc/iemmatrix-meta.pd.in
index 69263d0..9bc0698 100644
--- a/doc/iemmatrix-meta.pd
+++ b/doc/iemmatrix-meta.pd.in
@@ -1,8 +1,8 @@
#N canvas 10 10 200 200 10;
#N canvas 20 20 420 300 META 0;
#X text 10 10 META this is a prototype of a libdir meta file;
-#X text 10 30 NAME iemmatrix;
+#X text 10 30 NAME @PACKAGE_NAME@;
#X text 10 50 AUTHOR IOhannes m zmoelnig, Thomas Musil, Franz Zotter;
#X text 10 70 LICENSE GPL-2;
-#X text 10 90 VERSION 0.1;
+#X text 10 90 VERSION @PACKAGE_VERSION@;
#X restore 10 10 pd META;
diff --git a/src/configure.ac b/src/configure.ac
index e5bdfd2..14dff3f 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -248,5 +248,7 @@ fi
LFLAGS=${LDFLAGS}
AC_OUTPUT(Make.config)
+AC_OUTPUT(../VERSION.txt)
+AC_OUTPUT(../doc/iemmatrix-meta.pd)
dnl rm -f conftest.*