diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-01-30 00:27:28 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-01-30 00:27:28 +0000 |
commit | 1e1b96f7e65461ac1ffaa98c194780151c95cd98 (patch) | |
tree | 50e39bd35a79e0d61edfec4d0038f772c1ddeb2a | |
parent | a2588c9e863394f7db54bc34ea0077bf56bb85c3 (diff) |
fix 'make dist' when no template.c file present
svn path=/trunk/externals/template/; revision=15908
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |