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" <tytso@mit.edu>
maint-test
Theodore Ts'o 2014-01-09 15:59:29 -05:00
parent 253a96500a
commit 2500ebfc89
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -5,9 +5,7 @@
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>