[cvs] bogofilter/src Makefile.am,1.51,1.52
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2003-10-30 12:51:38
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1:/tmp/cvs-serv17185 Modified Files: Makefile.am Log Message: Make version.c dependent on all cvs source code files. Index: Makefile.am =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/Makefile.am,v retrieving revision 1.51 retrieving revision 1.52 diff -u -d -r1.51 -r1.52 --- Makefile.am 29 Oct 2003 01:34:57 -0000 1.51 +++ Makefile.am 30 Oct 2003 12:51:31 -0000 1.52 @@ -73,10 +73,9 @@ configtest_LDADD = $(LDADD) $(LIBDB) # what to build that from -libbogofilter_a_SOURCES= \ +version_sources= \ common.h system.h \ globals.h globals.c \ - directories.c version.c \ base64.h base64.c \ bf_exit.c \ bogoconfig.h bogoconfig.c \ @@ -119,6 +118,10 @@ xatox.h xatof.c xatoi.c \ datastore_db.h +libbogofilter_a_SOURCES = \ + directories.c version.c \ + $(version_sources) + if ENABLE_TDB_DATASTORE libbogofilter_a_SOURCES += datastore_tdb.c else @@ -173,7 +176,13 @@ version.sh \ strlcat.3 strlcpy.3 # -version.c: version.sh ../configure.ac Makefile.am +version.c: version.sh ../configure.ac Makefile.am \ + $(version_sources) \ + $(bogofilter_SOURCES) \ + $(bogolexer_SOURCES) \ + $(bogoutil_SOURCES) \ + $(bogotune_SOURCES) + $(srcdir)/version.sh $(top_srcdir) >"$@.new" && mv "$@.new" "$@" \ || rm -f "$@" # |