public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-vcs/git/files: git-1.7.2-always-install-js.patch
@ 2010-07-22 16:56 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; only message in thread
From: Robin H. Johnson (robbat2) @ 2010-07-22 16:56 UTC (permalink / raw
  To: gentoo-commits

robbat2     10/07/22 16:56:07

  Added:                git-1.7.2-always-install-js.patch
  Log:
  Version bump.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-vcs/git/files/git-1.7.2-always-install-js.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-1.7.2-always-install-js.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-1.7.2-always-install-js.patch?rev=1.1&content-type=text/plain

Index: git-1.7.2-always-install-js.patch
===================================================================
diff -Nuar --exclude '*.rej' --exclude '*.orig' git-1.7.2.orig/Makefile git-1.7.2/Makefile
--- git-1.7.2.orig/Makefile	2010-07-21 21:35:25.000000000 +0000
+++ git-1.7.2/Makefile	2010-07-22 16:52:22.994872806 +0000
@@ -1650,17 +1650,16 @@
 	$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) all
 
 ifdef JSMIN
-GITWEB_PROGRAMS += gitweb/static/gitweb.min.js
 GITWEB_JS = gitweb/static/gitweb.min.js
 else
 GITWEB_JS = gitweb/static/gitweb.js
 endif
 ifdef CSSMIN
-GITWEB_PROGRAMS += gitweb/static/gitweb.min.css
 GITWEB_CSS = gitweb/static/gitweb.min.css
 else
 GITWEB_CSS = gitweb/static/gitweb.css
 endif
+GITWEB_PROGRAMS += $(GITWEB_JS) $(GITWEB_CSS)
 OTHER_PROGRAMS +=  gitweb/gitweb.cgi  $(GITWEB_PROGRAMS)
 gitweb/gitweb.cgi: gitweb/gitweb.perl $(GITWEB_PROGRAMS)
 	$(QUIET_SUBDIR0)gitweb $(QUIET_SUBDIR1) $(patsubst gitweb/%,%,$@)
@@ -1675,7 +1674,7 @@
 endif # CSSMIN
 
 
-git-instaweb: git-instaweb.sh gitweb/gitweb.cgi gitweb/static/gitweb.css gitweb/static/gitweb.js
+git-instaweb: git-instaweb.sh gitweb/gitweb.cgi $(GITWEB_CSS) $(GITWEB_JS)
 	$(QUIET_GEN)$(RM) $@ $@+ && \
 	sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
 	    -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-22 16:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-22 16:56 [gentoo-commits] gentoo-x86 commit in dev-vcs/git/files: git-1.7.2-always-install-js.patch Robin H. Johnson (robbat2)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox