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

2014-11-18 Thread Michael Niedermayer
On Sun, Nov 16, 2014 at 08:12:55PM +0100, Michael Niedermayer wrote:
> On Sat, Nov 15, 2014 at 09:26:08PM -0800, Timothy Gu wrote:
> > http://ffmpeg.org/css/style.min.css and the copy in ffmpeg/doc are both
> > generated using this option.
> > 
> > Signed-off-by: Timothy Gu 
> > ---
> >  Makefile | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> applied

reverted, this doesnt work with the lessc installed on teh server
it wasnt noticed immedeatly as the new makefile didnt run until
a few minutes ago which broke the background color and created
a file with this name
ption=--s0

reverting this and re running the makefile fixed it 

[...]

-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


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

2014-11-16 Thread Michael Niedermayer
On Sat, Nov 15, 2014 at 09:26:08PM -0800, Timothy Gu wrote:
> http://ffmpeg.org/css/style.min.css and the copy in ffmpeg/doc are both
> generated using this option.
> 
> Signed-off-by: Timothy Gu 
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thanks

[...]
-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


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

2014-11-15 Thread Timothy Gu
http://ffmpeg.org/css/style.min.css and the copy in ffmpeg/doc are both
generated using this option.

Signed-off-by: Timothy Gu 
---
 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

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel