mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +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:
parent
5c39800979
commit
59ddec10bc
14
make/gcc.mak
14
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:
|
||||
|
Loading…
Reference in New Issue
Block a user