From: Theodore Ts'o Date: Thu, 9 Jan 2014 20:59:29 +0000 (-0500) Subject: util: fix make dependencies for subst X-Git-Tag: v1.42.9.wc1~109 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=2500ebfc89f52a67de4c786f84e6a6c46d3a8d15;p=tools%2Fe2fsprogs.git 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" --- 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