Gitweb: add ignore and clean rules for minified files
PATCH v5 1/6 Gitweb: add ignore and clean rules for minified files
---
No changes since the previous version.
.gitignore | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
.gitignore +1 -0
@@ -156,6 +156,7 @@ /git-core-*/?* /gitk-git/gitk-wish /gitweb/gitweb.cgi +/gitweb/gitweb.min.* /test-chmtime /test-ctype /test-date
Makefile +1 -1
@@ -2089,7 +2089,7 @@ clean: $(RM) $(htmldocs).tar.gz $(manpages).tar.gz $(MAKE) -C Documentation/ clean ifndef NO_PERL - $(RM) gitweb/gitweb.cgi + $(RM) gitweb/gitweb.{cgi,min.*} $(MAKE) -C perl clean endif ifndef NO_PYTHON
Signature · 1 line
1.7.0.3.436.g45b2d
Quoted 1 line · Mark Rada
Signed-off-by Mark Rada <[email protected]>
For what it's worth:
Makefile clean: · line 2094
Quoted 12 lines
Makefile +1
-1@@ -2089,7 +2089,7 @@ clean: $(RM) $(htmldocs).tar.gz $(manpages).tar.gz $(MAKE) -C Documentation/ clean ifndef NO_PERL - $(RM) gitweb/gitweb.cgi + $(RM) gitweb/gitweb.{cgi,min.*} $(MAKE) -C perl clean endif
Minor nit: this would be first line that uses {a,b} shell glob construct. Why not write it as:
- $(RM) gitweb/gitweb.cgi + $(RM) gitweb/gitweb.cgi gitweb/gitweb.min.*
Signature · 2 lines
Jakub Narebski Poland
Quoted 11 lines · Jakub Narebski
Makefile clean: · line 2094
Quoted 5 lines
ifndef
NO_PERLMakefile +1
-1- $(RM) gitweb/gitweb.cgi + $(RM) gitweb/gitweb.{cgi,min.*} $(MAKE) -C perl clean endifMinor nit: this would be first line that uses {a,b} shell glob construct. Why not write it as:
- $(RM) gitweb/gitweb.cgi + $(RM) gitweb/gitweb.cgi gitweb/gitweb.min.*
Very good point and it is not a "minor nit"; I cannot apply the patch without your fix.
My understanding is that you Ack 1 (with this fix), 2 (with another paragraph in the log message), and 5. Eric Acked 4 and 6 needs to be reworked. I wonder if anybody has comments on 3; I didn't look very closely at it, but it looked sane to me.
With that understanding, I'll queue the whole thing to 'pu', so that they can be reworked and replaced before hitting 'next'.
Thanks, all.