diff --git a/git-gui/Makefile b/git-gui/Makefile
index ba1e33ba8420b1505d785fd3559b3d50223cf2a0..e73b6453d9626cad1d2f71679afc0638f464f305 100644 (file)
--- a/git-gui/Makefile
+++ b/git-gui/Makefile
$(QUIET_BUILT_IN)rm -f $@ && ln git-gui $@
lib/tclIndex: $(ALL_LIBFILES)
- $(QUIET_INDEX)echo auto_mkindex lib '*.tcl' | $(TCL_PATH)
+ $(QUIET_INDEX)echo \
+ source lib/class.tcl \; \
+ auto_mkindex lib '*.tcl' \
+ | $(TCL_PATH)
# These can record GITGUI_VERSION
$(patsubst %.sh,%,$(SCRIPT_SH)): GIT-VERSION-FILE GIT-GUI-VARS