Add ignore and clean rules for gitweb.min.js
PATCH 1/1 Add ignore and clean rules for gitweb.min.js
Signed-off-by Mark Rada <[email protected]>
--- .gitignore | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-)
.gitignore +1 -0
@@ -156,6 +156,7 @@ /git-core-*/?* /gitk-git/gitk-wish /gitweb/gitweb.cgi +/gitweb/gitweb.min.js /test-chmtime /test-ctype /test-date
Makefile +3 -0
@@ -2078,6 +2078,9 @@ clean: $(MAKE) -C Documentation/ clean ifndef NO_PERL $(RM) gitweb/gitweb.cgi +ifdef JSMIN + $(RM) gitweb/gitweb.min.js +endif #JSMIN $(MAKE) -C perl clean endif ifndef NO_PYTHON
Signature · 1 line
1.7.0.2.279.gf1ba1c
Quoted 1 line · Mark Rada
Signed-off-by Mark Rada <[email protected]>
Thanks; one question and a comment.
Quoted 10 lines
--- .gitignore | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+), 0 deletions(-).gitignore +0
-0
.gitignore line 162
Quoted 7 lines
.gitignore +1
-0@@ -156,6 +156,7 @@ /git-core-*/?* /gitk-git/gitk-wish /gitweb/gitweb.cgi +/gitweb/gitweb.min.js /test-chmtime /test-ctype /test-date
Question: should this be part of your earlier "instaweb" patch, or are they independent?
Makefile clean: · line 2085
Quoted 13 lines
Makefile +3
-0@@ -2078,6 +2078,9 @@ clean: $(MAKE) -C Documentation/ clean ifndef NO_PERL $(RM) gitweb/gitweb.cgi +ifdef JSMIN + $(RM) gitweb/gitweb.min.js +endif #JSMIN $(MAKE) -C perl clean endif
Running "make clean" in perl/ should stay in "ifndef NO_PERL", but I think removal of both gitweb/{gitweb.cgi,gitweb.min.js} should be unconditional; it does not hurt as $(RM) is "rm -f" (i.e. don't complain to ENOENT).