Make src/libpspp/version.c depend on Makefile.
authorBen Pfaff <blp@gnu.org>
Tue, 14 Oct 2008 01:40:54 +0000 (18:40 -0700)
committerBen Pfaff <blp@gnu.org>
Tue, 14 Oct 2008 01:40:54 +0000 (18:40 -0700)
This ensures that re-running "configure" with different settings causes
version.c to be rebuilt.

Thanks to Ivy Foster <ivy.foster@gmail.com> for reporting the problem.

src/libpspp/automake.mk

index a0d7879f524145936d9bacab94c7a365a4baef77..b4fa926edd8cf3969c48070b93a1e95488102f42 100644 (file)
@@ -71,7 +71,7 @@ src_libpspp_libpspp_a_CPPFLAGS = -I $(top_srcdir)/src/libpspp $(AM_CPPFLAGS)
 
 nodist_src_libpspp_libpspp_a_SOURCES = src/libpspp/version.c
 
-src/libpspp/version.c: $(top_srcdir)/AUTHORS
+src/libpspp/version.c: $(top_srcdir)/AUTHORS Makefile
        @$(MKDIR_P) src/libpspp
        echo "/*        -*- mode: c; buffer-read-only: t -*-" > $@
        echo "   Generated by src/libpspp/automake.mk --- Do not edit. */">> $@