summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a51d37c)
raw | patch | inline | side by side (parent: a51d37c)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sun, 2 Jul 2006 09:31:30 +0000 (11:31 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 2 Jul 2006 18:04:50 +0000 (11:04 -0700) |
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | patch | blob | history |
diff --git a/Makefile b/Makefile
index 83d8922295fd7a87fc0f4bdd03e91b5c4e755b4c..05a00083e7eb7e467bd8aa9c01d7c2e817eda7b9 100644 (file)
--- a/Makefile
+++ b/Makefile
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
-e 's/@@NO_CURL@@/$(NO_CURL)/g' \
-e 's/@@NO_PYTHON@@/$(NO_PYTHON)/g' \
- $@.sh | sed \
- -e 's|@@GITWEB_CGI@@|#!$(PERL_PATH_SQ)|; T; r gitweb/gitweb.cgi' \
- | sed \
- -e 's|@@GITWEB_CSS@@||; T; r gitweb/gitweb.css' \
- > $@+
+ -e '/@@GITWEB_CGI@@/rgitweb/gitweb.cgi' \
+ -e '/@@GITWEB_CGI@@/d' \
+ -e '/@@GITWEB_CSS@@/rgitweb/gitweb.css' \
+ -e '/@@GITWEB_CSS@@/d' \
+ $@.sh > $@+
chmod +x $@+
mv $@+ $@