Lines 224-229
all::
Link Here
|
224 |
# |
224 |
# |
225 |
# Define NO_TCLTK if you do not want Tcl/Tk GUI. |
225 |
# Define NO_TCLTK if you do not want Tcl/Tk GUI. |
226 |
# |
226 |
# |
|
|
227 |
# Define NO_CVS if you do not want any CVS interface utilities. |
228 |
# |
227 |
# The TCL_PATH variable governs the location of the Tcl interpreter |
229 |
# The TCL_PATH variable governs the location of the Tcl interpreter |
228 |
# used to optimize git-gui for your system. Only used if NO_TCLTK |
230 |
# used to optimize git-gui for your system. Only used if NO_TCLTK |
229 |
# is not set. Defaults to the bare 'tclsh'. |
231 |
# is not set. Defaults to the bare 'tclsh'. |
Lines 401-406
LIB_OBJS =
Link Here
|
401 |
PROGRAM_OBJS = |
403 |
PROGRAM_OBJS = |
402 |
PROGRAMS = |
404 |
PROGRAMS = |
403 |
SCRIPT_PERL = |
405 |
SCRIPT_PERL = |
|
|
406 |
SCRIPT_PERL_CVS = |
404 |
SCRIPT_PYTHON = |
407 |
SCRIPT_PYTHON = |
405 |
SCRIPT_SH = |
408 |
SCRIPT_SH = |
406 |
SCRIPT_LIB = |
409 |
SCRIPT_LIB = |
Lines 441-458
SCRIPT_LIB += git-sh-i18n
Link Here
|
441 |
SCRIPT_PERL += git-add--interactive.perl |
444 |
SCRIPT_PERL += git-add--interactive.perl |
442 |
SCRIPT_PERL += git-difftool.perl |
445 |
SCRIPT_PERL += git-difftool.perl |
443 |
SCRIPT_PERL += git-archimport.perl |
446 |
SCRIPT_PERL += git-archimport.perl |
444 |
SCRIPT_PERL += git-cvsexportcommit.perl |
|
|
445 |
SCRIPT_PERL += git-cvsimport.perl |
446 |
SCRIPT_PERL += git-cvsserver.perl |
447 |
SCRIPT_PERL += git-relink.perl |
447 |
SCRIPT_PERL += git-relink.perl |
448 |
SCRIPT_PERL += git-send-email.perl |
448 |
SCRIPT_PERL += git-send-email.perl |
449 |
SCRIPT_PERL += git-svn.perl |
449 |
SCRIPT_PERL += git-svn.perl |
450 |
|
450 |
|
|
|
451 |
SCRIPT_PERL_CVS += git-cvsexportcommit.perl |
452 |
SCRIPT_PERL_CVS += git-cvsimport.perl |
453 |
SCRIPT_PERL_CVS += git-cvsserver.perl |
454 |
|
451 |
SCRIPT_PYTHON += git-remote-testgit.py |
455 |
SCRIPT_PYTHON += git-remote-testgit.py |
452 |
SCRIPT_PYTHON += git-p4.py |
456 |
SCRIPT_PYTHON += git-p4.py |
453 |
|
457 |
|
454 |
SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \ |
458 |
SCRIPTS = $(patsubst %.sh,%,$(SCRIPT_SH)) \ |
455 |
$(patsubst %.perl,%,$(SCRIPT_PERL)) \ |
459 |
$(patsubst %.perl,%,$(SCRIPT_PERL) $(SCRIPT_PERL_CVS)) \ |
456 |
$(patsubst %.py,%,$(SCRIPT_PYTHON)) \ |
460 |
$(patsubst %.py,%,$(SCRIPT_PYTHON)) \ |
457 |
git-instaweb |
461 |
git-instaweb |
458 |
|
462 |
|
Lines 2012-2024
$(SCRIPT_LIB) : % : %.sh
Link Here
|
2012 |
$(QUIET_GEN)$(cmd_munge_script) && \ |
2016 |
$(QUIET_GEN)$(cmd_munge_script) && \ |
2013 |
mv $@+ $@ |
2017 |
mv $@+ $@ |
2014 |
|
2018 |
|
|
|
2019 |
_SCRIPT_PERL_BUILD = |
2020 |
_SCRIPT_PERL_NOBUILD = |
2021 |
|
2015 |
ifndef NO_PERL |
2022 |
ifndef NO_PERL |
2016 |
$(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak |
2023 |
|
|
|
2024 |
_SCRIPT_PERL_BUILD += $(SCRIPT_PERL) |
2025 |
|
2026 |
ifndef NO_CVS |
2027 |
_SCRIPT_PERL_BUILD += $(SCRIPT_PERL_CVS) |
2028 |
else # NO_CVS |
2029 |
_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL_CVS) |
2030 |
endif # NO_CVS |
2031 |
|
2032 |
$(patsubst %.perl,%,$(_SCRIPT_PERL_BUILD)): perl/perl.mak |
2017 |
|
2033 |
|
2018 |
perl/perl.mak: GIT-CFLAGS perl/Makefile perl/Makefile.PL |
2034 |
perl/perl.mak: GIT-CFLAGS perl/Makefile perl/Makefile.PL |
2019 |
$(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) |
2035 |
$(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) |
2020 |
|
2036 |
|
2021 |
$(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl |
2037 |
$(patsubst %.perl,%,$(_SCRIPT_PERL_BUILD)): % : %.perl |
2022 |
$(QUIET_GEN)$(RM) $@ $@+ && \ |
2038 |
$(QUIET_GEN)$(RM) $@ $@+ && \ |
2023 |
INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \ |
2039 |
INSTLIBDIR=`MAKEFLAGS= $(MAKE) -C perl -s --no-print-directory instlibdir` && \ |
2024 |
sed -e '1{' \ |
2040 |
sed -e '1{' \ |
Lines 2049-2062
git-instaweb: git-instaweb.sh gitweb
Link Here
|
2049 |
chmod +x $@+ && \ |
2065 |
chmod +x $@+ && \ |
2050 |
mv $@+ $@ |
2066 |
mv $@+ $@ |
2051 |
else # NO_PERL |
2067 |
else # NO_PERL |
2052 |
$(patsubst %.perl,%,$(SCRIPT_PERL)) git-instaweb: % : unimplemented.sh |
2068 |
_SCRIPT_PERL_NOBUILD += $(SCRIPT_PERL) $(SCRIPT_PERL_CVS) git-instaweb |
|
|
2069 |
endif # NO_PERL |
2070 |
|
2071 |
# This is any perl scripts that were disabled it might be empty... |
2072 |
$(patsubst %.perl,%,$(_SCRIPT_PERL_NOBUILD)): % : unimplemented.sh |
2053 |
$(QUIET_GEN)$(RM) $@ $@+ && \ |
2073 |
$(QUIET_GEN)$(RM) $@ $@+ && \ |
2054 |
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \ |
2074 |
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \ |
2055 |
-e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \ |
2075 |
-e 's|@@REASON@@|NO_PERL=$(NO_PERL)|g' \ |
2056 |
unimplemented.sh >$@+ && \ |
2076 |
unimplemented.sh >$@+ && \ |
2057 |
chmod +x $@+ && \ |
2077 |
chmod +x $@+ && \ |
2058 |
mv $@+ $@ |
2078 |
mv $@+ $@ |
2059 |
endif # NO_PERL |
|
|
2060 |
|
2079 |
|
2061 |
ifndef NO_PYTHON |
2080 |
ifndef NO_PYTHON |
2062 |
$(patsubst %.py,%,$(SCRIPT_PYTHON)): GIT-CFLAGS |
2081 |
$(patsubst %.py,%,$(SCRIPT_PYTHON)): GIT-CFLAGS |
Lines 2091-2097
configure: configure.ac
Link Here
|
2091 |
# These can record GIT_VERSION |
2110 |
# These can record GIT_VERSION |
2092 |
git.o git.spec \ |
2111 |
git.o git.spec \ |
2093 |
$(patsubst %.sh,%,$(SCRIPT_SH)) \ |
2112 |
$(patsubst %.sh,%,$(SCRIPT_SH)) \ |
2094 |
$(patsubst %.perl,%,$(SCRIPT_PERL)) \ |
2113 |
$(patsubst %.perl,%,$(SCRIPT_PERL) $(SCRIPT_PERL_CVS)) \ |
2095 |
: GIT-VERSION-FILE |
2114 |
: GIT-VERSION-FILE |
2096 |
|
2115 |
|
2097 |
TEST_OBJS := $(patsubst test-%$X,test-%.o,$(TEST_PROGRAMS)) |
2116 |
TEST_OBJS := $(patsubst test-%$X,test-%.o,$(TEST_PROGRAMS)) |