summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 663e7cf)
raw | patch | inline | side by side (parent: 663e7cf)
author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 12 Feb 2007 21:12:04 +0000 (16:12 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 12 Feb 2007 21:12:04 +0000 (16:12 -0500) |
Now that the decision has been made to treat git-gui as a
subproject, rather than merging it directly into git, we
should use a different substitution for our version value
to avoid any possible confusion.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
subproject, rather than merging it directly into git, we
should use a different substitution for our version value
to avoid any possible confusion.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
GIT-VERSION-GEN | patch | blob | history | |
Makefile | patch | blob | history | |
git-gui.sh | patch | blob | history |
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 79f1c527ffbf157d2314703ad4140bddaab24470..79558f39cf968d712dc0230dc9cb538f92ad4a78 100755 (executable)
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
if test -r $GVF
then
- VC=$(sed -e 's/^GIT_VERSION = //' <$GVF)
+ VC=$(sed -e 's/^GITGUI_VERSION = //' <$GVF)
else
VC=unset
fi
test "$VN" = "$VC" || {
- echo >&2 "GIT_VERSION = $VN"
- echo "GIT_VERSION = $VN" >$GVF
+ echo >&2 "GITGUI_VERSION = $VN"
+ echo "GITGUI_VERSION = $VN" >$GVF
}
diff --git a/Makefile b/Makefile
index f1668bbd18b26d11e8272f49ef20d90c8b8f7f93..71ae7edb487760f239bcdeff4cb6d8330559eb88 100644 (file)
--- a/Makefile
+++ b/Makefile
$(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh
rm -f $@ $@+
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
- -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
+ -e 's/@@GITGUI_VERSION@@/$(GITGUI_VERSION)/g' \
$@.sh >$@+
chmod +x $@+
mv $@+ $@
$(GITGUI_BUILT_INS): git-gui
rm -f $@ && ln git-gui $@
-# These can record GIT_VERSION
+# These can record GITGUI_VERSION
$(patsubst %.sh,%,$(SCRIPT_SH)): GIT-VERSION-FILE
all:: $(ALL_PROGRAMS)
diff --git a/git-gui.sh b/git-gui.sh
index ea16be43ac900d3946ddf01107ed46493029169b..f5010dd47a0416eb18d823f257f4748fec621074 100755 (executable)
--- a/git-gui.sh
+++ b/git-gui.sh
# Tcl ignores the next line -*- tcl -*- \
exec wish "$0" -- "$@"
-set appvers {@@GIT_VERSION@@}
+set appvers {@@GITGUI_VERSION@@}
set copyright {
Copyright © 2006, 2007 Shawn Pearce, Paul Mackerras.