aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--template-meta.pd6
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dbd8024..94e1e0a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#For instructions on how to use this template, see:
# http://puredata.info/docs/developer/MakefileTemplate
LIBRARY_NAME = template
-LIBRARY_VERSION = 0.0
+LIBRARY_VERSION = sed -n 's|^#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);$|\1|p' $(LIBRARY_NAME)-meta.pd
# Next, add your .c source files to the SOURCES variable. The help files will
# be included automatically
diff --git a/template-meta.pd b/template-meta.pd
new file mode 100644
index 0000000..2718900
--- /dev/null
+++ b/template-meta.pd
@@ -0,0 +1,6 @@
+#N canvas 15 49 200 200 10;
+#N canvas 25 49 420 300 META 1;
+#X text 13 41 NAME template;
+#X text 10 25 AUTHOR example@fsf.org;
+#X text 10 10 VERSION 0.0;
+#X restore 10 10 pd META;