mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
build: avoid makeinfo unless required
* doc/local.mk (constants.texi): Avoid calling makeinfo unless the constants derived from tail and shred have changed. This avoids a dependence on makeinfo from patched sources, and avoids an expensive makeinfo call for developers.
This commit is contained in:
1 parent
bc1bf0fdc2
commit
34f20fcc4a
1 file changed
+1
-1
+1
-1
@@ -42,7 +42,7 @@ doc/constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
|
||||
sed -n -e \
|
||||
's/.*\(DEFAULT_PASSES\)[ =]* \([0-9]*\).*/@set SHRED_\1 \2/p'\
|
||||
$(top_srcdir)/src/shred.c; } > $@-t \
|
||||
&& mv $@-t $@
|
||||
&& { cmp $@-t $@ >/dev/null 2>&1 || mv $@-t $@; }
|
||||
|
||||
MAINTAINERCLEANFILES += doc/constants.texi
|
||||
|
||||
|
||||
Reference in new issue
Block a user