From: Phil Sutter Date: Fri, 9 Feb 2018 17:49:38 +0000 (+0100) Subject: Remove leftovers from removed Latex documentation X-Git-Tag: v4.16.0~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a237420f2051d6282262d33dbb3b10052fcfa61;p=thirdparty%2Fiproute2.git Remove leftovers from removed Latex documentation 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 --- diff --git a/.gitignore b/.gitignore index f8c3dfca8..e5234a3dc 100644 --- a/.gitignore +++ b/.gitignore @@ -39,13 +39,3 @@ testsuite/results 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 diff --git a/configure b/configure index d6832464f..f7c2d7a7d 100755 --- a/configure +++ b/configure @@ -17,18 +17,6 @@ check_prog() 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} @@ -422,11 +410,6 @@ check_berkeley_db 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