mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2025-01-21 07:53:37 +08:00
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>
This commit is contained in:
parent
253a96500a
commit
2500ebfc89
@ -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
|
||||
|
@ -5,9 +5,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
|
Loading…
Reference in New Issue
Block a user