aboutsummaryrefslogtreecommitdiff
path: root/debugfs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2004-04-03 13:53:46 -0500
committerTheodore Ts'o <tytso@mit.edu>2004-04-03 13:53:46 -0500
commitdd60705665b916c9f67c3bbf86aa6bb620a14ecd (patch)
tree7422ed18d06e7d17f7b71c828cc05b6b9033efa2 /debugfs
parent9dd97ae37dc664f877296db80e1d6c1ebe33e28b (diff)
downloade2fsprogs-dd60705665b916c9f67c3bbf86aa6bb620a14ecd.tar.gz
Refine the build process to avoid re-running subst all the time on
some generated files, by having subst update the modtime on these files even when the generated file hasn't changed. We do this with generated files that do not have any downstream dependencies.
Diffstat (limited to 'debugfs')
-rw-r--r--debugfs/ChangeLog7
-rw-r--r--debugfs/Makefile.in2
2 files changed, 8 insertions, 1 deletions
diff --git a/debugfs/ChangeLog b/debugfs/ChangeLog
index 3f546c8e..240a237b 100644
--- a/debugfs/ChangeLog
+++ b/debugfs/ChangeLog
@@ -1,3 +1,10 @@
+2004-04-03 Theodore Ts'o <tytso@mit.edu>
+
+ * Makefile.in: Update the modtime even if subst doesn't need to
+ update the debugfs man page, to avoid always re-running
+ subst, especially since there are no dependencies on the
+ man page.
+
2004-03-20 Theodore Ts'o <tytso@mit.edu>
* debugfs.c (make_link): Set the filetype information when
diff --git a/debugfs/Makefile.in b/debugfs/Makefile.in
index cfc24e99..cb5b90d8 100644
--- a/debugfs/Makefile.in
+++ b/debugfs/Makefile.in
@@ -41,7 +41,7 @@ debug_cmds.c debug_cmds.h: debug_cmds.ct
$(MK_CMDS) $(srcdir)/debug_cmds.ct
debugfs.8: $(DEP_SUBSTITUTE) $(srcdir)/debugfs.8.in
- $(SUBSTITUTE) $(srcdir)/debugfs.8.in debugfs.8
+ $(SUBSTITUTE_UPTIME) $(srcdir)/debugfs.8.in debugfs.8
installdirs:
$(top_srcdir)/mkinstalldirs $(DESTDIR)$(root_sbindir) \