@matheusbsbs / matheus-bagliano / commits / 91730800e9
Fork 0

Retire git-log.sh

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Apr 10, 2006 at 17:37 UTC 91730800e975e208364261a691cbf28c5afe3bce
1 file changed +8 -3
Makefile
+8 -3
@@ -116,7 +116,7 @@ SCRIPT_SH = \
116 git-add.sh git-bisect.sh git-branch.sh git-checkout.sh \
117 git-cherry.sh git-clean.sh git-clone.sh git-commit.sh \
118 git-count-objects.sh git-diff.sh git-fetch.sh \
119 - git-format-patch.sh git-log.sh git-ls-remote.sh \
119 + git-format-patch.sh git-ls-remote.sh \
120 git-merge-one-file.sh git-parse-remote.sh \
121 git-prune.sh git-pull.sh git-push.sh git-rebase.sh \
122 git-repack.sh git-request-pull.sh git-reset.sh \
@@ -167,6 +167,8 @@ PROGRAMS = \
167 git-name-rev$X git-pack-redundant$X git-repo-config$X git-var$X \
168 git-describe$X git-merge-tree$X git-blame$X git-imap-send$X
169
170 +BUILT_INS = git-log$X
171 +
172 # what 'all' will build and 'install' will install, in gitexecdir
173 ALL_PROGRAMS = $(PROGRAMS) $(SIMPLE_PROGRAMS) $(SCRIPTS)
174
@@ -448,7 +450,7 @@ LIB_OBJS += $(COMPAT_OBJS)
450 export prefix TAR INSTALL DESTDIR SHELL_PATH template_dir
451 ### Build rules
452
451 -all: $(ALL_PROGRAMS) git$X gitk
453 +all: $(ALL_PROGRAMS) git$X $(BUILT_INS) gitk
454
455 all:
456 $(MAKE) -C templates
@@ -461,6 +463,9 @@ git$X: git.c common-cmds.h $(GITLIBS)
463 $(ALL_CFLAGS) -o $@ $(filter %.c,$^) \
464 $(ALL_LDFLAGS) $(LIBS)
465
466 +$(BUILT_INS): git$X
467 + rm -f $@ && ln git$X $@
468 +
469 common-cmds.h: Documentation/git-*.txt
470 ./generate-cmdlist.sh > $@
471
@@ -642,7 +647,7 @@ rpm: dist
647
648 clean:
649 rm -f *.o mozilla-sha1/*.o arm/*.o ppc/*.o compat/*.o xdiff/*.o \
645 - $(LIB_FILE) $(XDIFF_LIB)
650 + $(LIB_FILE) $(XDIFF_LIB) $(BUILT_INS)
651 rm -f $(ALL_PROGRAMS) git$X
652 rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags
653 rm -rf $(GIT_TARNAME)