On 25/11/15 12:53, Joachim Schiele wrote: > i've used this patch but then i hit this issue: > http://paste.ubuntu.com/13498376/ > > i don't have packaged makeinfo yet and i don't really care for the > documentation at the moment. i didn't find a ./configure switch to > disable it either.
> and there is a patch to make it compile without > 'makeinfo' which changes doc/local.mk but it seems already applied in > 8.24 so what should i do now? I don't know what patch you're referring to, but it would be best to avoid makeinfo unless really needed. The attached should do that (note you may want to apply it to Makefile.in rather than doc/local.mk, and note it requires cmp on the build system). cheers, Pádraig.
>From 3506215dcd6a4dbf6b45625290b8d6999da5436c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= <[email protected]> Date: Wed, 25 Nov 2015 13:38:29 +0000 Subject: [PATCH] build: avoid makeinfo unless required * doc/local.mk (constants.texi): Avoid calling makeinfo unless the constants derived from tail and shred have changed. This avoid's a dependence on makeinfo from patch sources, and avoids an expensive makeinfo call for developers. --- doc/local.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/local.mk b/doc/local.mk index 37c5621..c4b693c 100644 --- a/doc/local.mk +++ b/doc/local.mk @@ -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 -s $@-t $@ 2>/dev/null || mv $@-t $@; } MAINTAINERCLEANFILES += doc/constants.texi -- 2.5.0
