From 2500ebfc89f52a67de4c786f84e6a6c46d3a8d15 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 9 Jan 2014 15:59:29 -0500 Subject: [PATCH] util: fix make dependencies for subst Now that subst is using config.h, we need to fix its dependencies so that if config.h is missing (i.e., after a "make clean" in the tree) that it is rebuilt by the Makefile rule. Signed-off-by: "Theodore Ts'o" --- util/Makefile.in | 2 +- util/subst.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/util/Makefile.in b/util/Makefile.in index 2a2b21c..69683b0 100644 --- a/util/Makefile.in +++ b/util/Makefile.in @@ -64,4 +64,4 @@ distclean: clean # Makefile dependencies follow. This must be the last section in # the Makefile.in file # -subst.o: $(srcdir)/subst.c +subst.o: $(srcdir)/subst.c $(top_builddir)/lib/config.h dirpaths.h diff --git a/util/subst.c b/util/subst.c index 6244831..6a5eab1 100644 --- a/util/subst.c +++ b/util/subst.c @@ -5,9 +5,7 @@ * */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif #include #include #include -- 1.8.3.1