aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 00:27:28 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-30 00:27:28 +0000
commit1e1b96f7e65461ac1ffaa98c194780151c95cd98 (patch)
tree50e39bd35a79e0d61edfec4d0038f772c1ddeb2a /Makefile
parenta2588c9e863394f7db54bc34ea0077bf56bb85c3 (diff)
fix 'make dist' when no template.c file present
svn path=/trunk/externals/template/; revision=15908
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1175ece..215b863 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-## Pd library template version 1.0.13
+## Pd library template version 1.0.12
# For instructions on how to use this template, see:
# http://puredata.info/docs/developer/MakefileTemplate
LIBRARY_NAME = template
@@ -361,7 +361,7 @@ dist: $(DISTDIR)
$(INSTALL_DATA) $(ALLSOURCES) $(DISTDIR)
test -z "$(strip $(wildcard $(ALLSOURCES:.c=.tcl)))" || \
$(INSTALL_DATA) $(wildcard $(ALLSOURCES:.c=.tcl)) $(DISTDIR)
- test -z "$(strip $(LIBRARY_NAME).c)" || \
+ test -z "$(strip $(wildcard $(LIBRARY_NAME).c))" || \
$(INSTALL_DATA) $(LIBRARY_NAME).c $(DISTDIR)
test -z "$(strip $(SHARED_HEADER))" || \
$(INSTALL_DATA) $(SHARED_HEADER) $(DISTDIR)