]> git.sur5r.net Git - openocd/commitdiff
build: do not included generated files in distribution
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 17 Jun 2011 11:22:37 +0000 (12:22 +0100)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Fri, 17 Jun 2011 11:22:37 +0000 (12:22 +0100)
We have to use this method as automake seems to ignore nodist_ on libs.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/Makefile.am

index 60d1189bff65c8197bec43fc9f3364831f1d6c2a..e3adaad843ecddcfbedd0a1112c61ef65fa26daa 100644 (file)
@@ -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