From: Spencer Oliver Date: Fri, 17 Jun 2011 11:22:37 +0000 (+0100) Subject: build: do not included generated files in distribution X-Git-Tag: v0.5.0-rc1~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e7c611deeac63e585eb61d6c4cdb54d078c2c579;p=openocd 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 --- 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