Skip to content
Snippets Groups Projects
Commit d618aa99 authored by Philippe Canal's avatar Philippe Canal
Browse files

Protect html target against missing X11 component

git-svn-id: http://root.cern.ch/svn/root/trunk@44800 27541ba8-7e3a-0410-8455-c3a389f83636
parent 13efc03c
No related branches found
No related tags found
No related merge requests found
......@@ -1088,6 +1088,7 @@ changelog:
releasenotes:
@$(MAKERELNOTES)
ifeq ($(BUILDX11),yes)
html: rootexecs postbin changelog releasenotes
ifneq ($(USECONFIG),FALSE)
@if [ "x`which root.exe`" != "x$(DESTDIR)$(BINDIR)/root.exe" ] \
......@@ -1099,6 +1100,10 @@ ifneq ($(USECONFIG),FALSE)
endif
@$(MAKELOGHTML)
@$(MAKEHTML)
else
html:
@echo "Error: Generating the html doc requires to enable the X11 component when running configure." && exit 1
endif
# Use DESTDIR to set a sandbox prior to calling "make install", e.g.:
# ./configure --prefix=/usr/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment