1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-14 00:32:08 +00:00

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
This commit is contained in:
cuz 2005-09-09 17:16:58 +00:00
parent 5c39800979
commit 59ddec10bc

View File

@ -58,7 +58,7 @@ libs:
# A host system might not have LinuxDoc Tools, so this rule ignores errors. # A host system might not have LinuxDoc Tools, so this rule ignores errors.
docs: 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. # Some platforms cannot compile all of the sample and library-test programs.
# So, these rules ignore errors. # So, these rules ignore errors.
@ -90,12 +90,12 @@ install: install-test install-dirs install-bins install-libs install-docs
.PHONY: install-test .PHONY: install-test
install-test: install-test:
@if [ `id -u` != 0 ]; then \ # @if [ `id -u` != 0 ]; then \
echo >&2; \ # echo >&2; \
echo 'Do "make install" or "make uninstall" as root.' >&2; \ # echo 'Do "make install" or "make uninstall" as root.' >&2; \
echo >&2; \ # echo >&2; \
false; \ # false; \
fi # fi
.PHONY: install-dirs .PHONY: install-dirs
install-dirs: install-dirs: