aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2011-06-17 12:22:37 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2011-06-17 12:22:37 +0100
commite7c611deeac63e585eb61d6c4cdb54d078c2c579 (patch)
tree08cb5ff069c39cb7fa97d627527baafbe801262b
parent16cbe1216a17708fb40ebba84a359c845c263870 (diff)
build: do not included generated files in distribution
We have to use this method as automake seems to ignore nodist_ on libs. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
-rw-r--r--src/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 60d1189b..e3adaad8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -130,7 +130,10 @@ startup_tcl.c: startup.tcl $(BIN2C)
# add startup_tcl.c to make clean list
CLEANFILES = startup.tcl startup_tcl.c
-
+# we do not want generated file in the dist
+dist-hook:
+ rm -f $(distdir)/startup_tcl.c
+
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
# The "quick" target builds executables & reinstalls the executables