aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-29 04:49:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-01-29 04:49:38 +0000
commitec0cb2943f2f5264225c5d75292cefe9c0491a6b (patch)
treee3971ed5e3f66fe4857b23c5d1e6fbf516aee1da
parent1120e2fb1503340eae9c097c2f6c408cdbabcc0c (diff)
include single-binary source file in 'make dist' source tarball
svn path=/trunk/externals/template/; revision=15902
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d4713da..f8a32dc 100644
--- a/Makefile
+++ b/Makefile
@@ -361,6 +361,8 @@ 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)" || \
+ $(INSTALL_DATA) $(LIBRARY_NAME).c $(DISTDIR)
test -z "$(strip $(SHARED_HEADER))" || \
$(INSTALL_DATA) $(SHARED_HEADER) $(DISTDIR)
test -z "$(strip $(SHARED_SOURCE))" || \