From 37349a0b19517c4c953b595616f5a21a66089028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Wed, 20 Feb 2019 11:24:16 +0100 Subject: [PATCH 1/2] doc/doxygen: remove support for lesscpy lessc (node-less) and lesscpy do not produce the same output. There are some minor whitespace +-1 in color values which are not important but the output file is not stable However lesscpy removes comments and so the license of the output file As it produces an invalid file it support is dropped. https://lesscpy.readthedocs.io/en/latest/#differences-from-less-js --- doc/doxygen/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/doc/doxygen/Makefile b/doc/doxygen/Makefile index 92bc60cfa0..300739358e 100644 --- a/doc/doxygen/Makefile +++ b/doc/doxygen/Makefile @@ -5,15 +5,8 @@ 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 +LESSC ?= $(shell command -v lessc 2>/dev/null) .PHONY: doc doc: html From 944d0f31af8df05d3d8a7bc4d78f4fe1a00244a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Wed, 20 Feb 2019 11:35:06 +0100 Subject: [PATCH 2/2] doc/doxygen: add package name for lessc Add package name in ubuntu for lessc. --- doc/doxygen/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/doxygen/Makefile b/doc/doxygen/Makefile index 300739358e..f9eb957b08 100644 --- a/doc/doxygen/Makefile +++ b/doc/doxygen/Makefile @@ -6,6 +6,7 @@ export STRIP_FROM_INC_PATH_LIST=$(shell \ sed 's/.*/\"$(subst /,\/,$(RIOTBASE))\/\0\"/') # 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