Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions doc/doxygen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down