From e7c611deeac63e585eb61d6c4cdb54d078c2c579 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Fri, 17 Jun 2011 12:22:37 +0100 Subject: [PATCH 1/1] 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 --- src/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 60d1189bff..e3adaad843 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 -- 2.30.2