From c931019de434d6bb4dfc7843c0664290f7faa2a0 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Sat, 24 Dec 2016 20:17:39 +1300 Subject: [PATCH] Regenerate version.h when version_h.cc changes (cherry picked from commit 98a00a13cf41e974b716adb2462e17a03197d7aa) --- xapian-core/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xapian-core/Makefile.am b/xapian-core/Makefile.am index 99551bb48..d00d73524 100644 --- a/xapian-core/Makefile.am +++ b/xapian-core/Makefile.am @@ -130,6 +130,10 @@ include weight/Makefile.mk xapianinclude_HEADERS += include/xapian/error.h +# If these files change, we need to rerun configure to reprocess them - +# making them dependencies of config.status achieves that. +CONFIG_STATUS_DEPENDENCIES = include/xapian/version_h.cc + if MAINTAINER_MODE BUILT_SOURCES += include/xapian/error.h include/xapian/errordispatch.h -- 2.11.4.GIT