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 <ntfreak@users.sourceforge.net>
__archive__
Spencer Oliver 2011-06-17 12:22:37 +01:00
parent 16cbe1216a
commit e7c611deea
1 changed files with 4 additions and 1 deletions

View File

@ -130,6 +130,9 @@ 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