X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2FMakefile.am;h=e3adaad843ecddcfbedd0a1112c61ef65fa26daa;hp=60d1189bff65c8197bec43fc9f3364831f1d6c2a;hb=e7c611deeac63e585eb61d6c4cdb54d078c2c579;hpb=16cbe1216a17708fb40ebba84a359c845c263870 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