diff --git a/make/gcc.mak b/make/gcc.mak index 5c20373d7..73e52504e 100644 --- a/make/gcc.mak +++ b/make/gcc.mak @@ -58,7 +58,7 @@ libs: # A host system might not have LinuxDoc Tools, so this rule ignores errors. docs: - -@$(MAKE) -C doc html + -@which sgml2html > /dev/null && $(MAKE) -C doc html || echo 'SGML-Tools not installed, skipping docs' # Some platforms cannot compile all of the sample and library-test programs. # So, these rules ignore errors.