Skip to contentSkip to conversation

Add ignore and clean rules for gitweb.min.js

PATCH Superseded Mark Rada 1 participant 2 messages Jun 15, 2016 1 message not in the archive Kbuild

v2 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Mark Rada

author
#0 lore raw

PATCH v2 1/1 Add ignore and clean rules for gitweb.min.js

---

The instaweb patch from earlier was about making the instaweb script aware that users can generate a minified version of gitweb.js. I think the stuff I am doing in this patch was just forgotten when JSMIN support was first added for gitweb.

Junio, I went and changed the clean target changes according to your comment.

 .gitignore |    1 +
 Makefile   |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
.gitignore +1 -0
index 7b3acb7..4c24152 100644
@@ -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
index f80b25e..aa1996d 100644
@@ -2077,7 +2077,7 @@ clean:
 	$(RM) $(htmldocs).tar.gz $(manpages).tar.gz
 	$(MAKE) -C Documentation/ clean
 ifndef NO_PERL
-	$(RM) gitweb/gitweb.cgi
+	$(RM) gitweb/{gitweb.cgi,gitweb.min.js}
 	$(MAKE) -C perl clean
 endif
 ifndef NO_PYTHON
Signature · 1 line
1.7.0.2.279.gf1ba1c
author
#2 lore raw
In reply to a message not in the archive

Junio,

I went and added some other things that should probably be squashed into this commit, unless it is too late. Updating documentation for jsmin and adding autoconfigure support for it.

Signature · 2 lines
Mark Rada (ferrous26)
[email protected]
Quoted 15 lines · Junio C Hamano
Quoted 11 lines · Mark Rada

---

The instaweb patch from earlier was about making the instaweb script aware that users can generate a minified version of gitweb.js. I think the stuff I am doing in this patch was just forgotten when JSMIN support was first added for gitweb.

Junio, I went and changed the clean target changes according to your comment.

Thanks, will queue.