]> git.sur5r.net Git - cc65/commitdiff
Better error message if sgmltools not installed.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 9 Sep 2005 17:16:58 +0000 (17:16 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 9 Sep 2005 17:16:58 +0000 (17:16 +0000)
Remove check for install as root.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3631 b7a2c559-68d2-44c3-8de9-860c34a00d81

make/gcc.mak

index d80da36566889745db483cbae80b43f465446840..8f85a9e6c52c5397aa62f9ab63c20df06eb96496 100644 (file)
@@ -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: