]> git.sur5r.net Git - openocd/blobdiff - src/Makefile.am
build: do not included generated files in distribution
[openocd] / 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