diff --git a/doc/doxygen/Makefile b/doc/doxygen/Makefile index 92bc60cfa0..f9eb957b08 100644 --- a/doc/doxygen/Makefile +++ b/doc/doxygen/Makefile @@ -5,15 +5,9 @@ export STRIP_FROM_INC_PATH_LIST=$(shell \ grep '/include$$' |\ sed 's/.*/\"$(subst /,\/,$(RIOTBASE))\/\0\"/') -# use lessc (http://lesscss.org/#using-less) for compiling CSS, alternatively -# fall back to lesscpy (https://github.com/lesscpy/lesscpy) -ifeq (,$(LESSC)) - ifneq (,$(shell command -v lessc 2>/dev/null)) - LESSC=lessc - else ifneq (,$(shell command -v lesscpy 2>/dev/null)) - LESSC=lesscpy - endif -endif +# use lessc (http://lesscss.org/#using-less) for compiling CSS +# It can also be installed in ubuntu with the `node-less` package +LESSC ?= $(shell command -v lessc 2>/dev/null) .PHONY: doc doc: html