Since there is no documentation in Latex format left, there is no need
to check for commands to build it. Also there is no need to ignore any
of the temporary files which were created by them.
Signed-off-by: Phil Sutter <phil@nwl.cc>
testsuite/iproute2/iproute2-this
testsuite/tools/generate_nlmsg
testsuite/tests/ip/link/dev_wo_vf_rate.nl
-
-# doc files generated at runtime
-doc/*.aux
-doc/*.log
-doc/*.toc
-doc/*.ps
-doc/*.dvi
-doc/*.html
-doc/*.pdf
-doc/*.out
command -v $1 >/dev/null 2>&1 && (echo "$3:=y" >> $CONFIG; echo "yes") || (echo "no"; return 1)
}
-check_docs()
-{
- if check_prog latex " latex: " HAVE_LATEX; then
- check_prog pdflatex " pdflatex: " HAVE_PDFLATEX || echo " WARNING: no PDF docs can be built from LaTeX files"
- check_prog sgml2latex " sgml2latex: " HAVE_SGML2LATEX || echo " WARNING: no LaTeX files can be build from SGML files"
- else
- echo " WARNING: no docs can be built from LaTeX files"
- fi
-
- check_prog sgml2html " sgml2html: " HAVE_SGML2HTML || echo " WARNING: no HTML docs can be built from SGML"
-}
-
check_toolchain()
{
: ${PKG_CONFIG:=pkg-config}
echo -n "need for strlcpy: "
check_strlcpy
-echo
-echo -n "docs:"
-check_docs
-echo
-
echo >> $CONFIG
echo "%.o: %.c" >> $CONFIG
echo ' $(QUIET_CC)$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<' >> $CONFIG