Message ID | 20160407010704.30641.88286.stgit@dwillia2-desk3.jf.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 194a10863464 |
Headers | show |
On Mittwoch, 6. April 2016 18:07:04 CEST Dan Williams wrote: > Since libnctl.h is build via an AC_CONFIG_COMMANDS() statement we want > configure to re-run if libndctl.h.in is changed. > > Signed-off-by: Dan Williams <dan.j.williams@intel.com> > --- Looks good, Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
diff --git a/Makefile.am b/Makefile.am index 7de3d3c3c9eb..379f6404671f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,9 @@ AM_LDFLAGS = \ -Wl,--gc-sections \ -Wl,--as-needed -BUILT_SOURCES = $(top_srcdir)/version.m4 +BUILT_SOURCES = $(top_srcdir)/version.m4 $(top_srcdir)/lib/ndctl/libndctl.h +$(top_srcdir)/lib/ndctl/libndctl.h: $(top_srcdir)/lib/ndctl/libndctl.h.in + touch $(top_srcdir)/version.m4 $(top_srcdir)/version.m4: FORCE $(AM_V_GEN)$(top_srcdir)/git-version-gen
Since libnctl.h is build via an AC_CONFIG_COMMANDS() statement we want configure to re-run if libndctl.h.in is changed. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)