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 <p...@nwl.cc>
---
 .gitignore | 10 ----------
 configure  | 17 -----------------
 2 files changed, 27 deletions(-)

diff --git a/.gitignore b/.gitignore
index f8c3dfca840c2..e5234a3dc9484 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 d6832464f563e..f7c2d7a7d57c6 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
-- 
2.15.1

Reply via email to