From: cuz Date: Fri, 9 Sep 2005 17:16:58 +0000 (+0000) Subject: Better error message if sgmltools not installed. X-Git-Tag: V2.12.0~215 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=59ddec10bc8e1a1203abd4aa38f33bd07eba991e;p=cc65 Better error message if sgmltools not installed. Remove check for install as root. git-svn-id: svn://svn.cc65.org/cc65/trunk@3631 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/make/gcc.mak b/make/gcc.mak index d80da3656..8f85a9e6c 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 + -@sgml2html > /dev/null 2>&1 && $(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. @@ -90,12 +90,12 @@ install: install-test install-dirs install-bins install-libs install-docs .PHONY: install-test install-test: - @if [ `id -u` != 0 ]; then \ - echo >&2; \ - echo 'Do "make install" or "make uninstall" as root.' >&2; \ - echo >&2; \ - false; \ - fi +# @if [ `id -u` != 0 ]; then \ +# echo >&2; \ +# echo 'Do "make install" or "make uninstall" as root.' >&2; \ +# echo >&2; \ +# false; \ +# fi .PHONY: install-dirs install-dirs: