[FFmpeg-devel] [PATCH 1/3] web: Remove all comments in the cleaned CSS

Timothy Gu timothygu99 at gmail.com
Sun Nov 16 06:26:08 CET 2014


http://ffmpeg.org/css/style.min.css and the copy in ffmpeg/doc are both
generated using this option.

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f13a36f..506a17f 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ RSS_TARGET = htdocs/$(RSS_FILENAME)
 CSS_SRCS = src/less/style.less
 CSS_TARGET = htdocs/css/style.min.css
 LESS_TARGET = htdocs/style.less
-LESSC_OPTIONS := --clean-css
+LESSC_OPTIONS := --clean-css --clean-option=--s0
 
 BOWER_PACKAGES = bower.json
 BOWER_COMPONENTS = htdocs/components
-- 
1.9.1



More information about the ffmpeg-devel mailing list