Skip to content

Commit e6be265

Browse files
devzero2000gitster
authored andcommitted
Makefile: add missing phony target
Add some missing phony target to Makefile. Signed-off-by: Elia Pinto <[email protected]> Helped-by: Matthieu Moy <[email protected]> Reviewed-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1aaf149 commit e6be265

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,6 +2026,7 @@ $(VCSSVN_LIB): $(VCSSVN_OBJS)
20262026

20272027
export DEFAULT_EDITOR DEFAULT_PAGER
20282028

2029+
.PHONY: doc man html info pdf
20292030
doc:
20302031
$(MAKE) -C Documentation all
20312032

@@ -2069,6 +2070,7 @@ po/git.pot: $(GENERATED_H) FORCE
20692070
$(LOCALIZED_PERL)
20702071
mv $@+ $@
20712072

2073+
.PHONY: pot
20722074
pot: po/git.pot
20732075

20742076
POFILES := $(wildcard po/*.po)
@@ -2278,6 +2280,7 @@ mergetools_instdir_SQ = $(subst ','\'',$(mergetools_instdir))
22782280

22792281
install_bindir_programs := $(patsubst %,%$X,$(BINDIR_PROGRAMS_NEED_X)) $(BINDIR_PROGRAMS_NO_X)
22802282

2283+
.PHONY: profile-install profile-fast-install
22812284
profile-install: profile
22822285
$(MAKE) install
22832286

@@ -2344,6 +2347,8 @@ endif
23442347
done && \
23452348
./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X"
23462349

2350+
.PHONY: install-gitweb install-doc install-man install-html install-info install-pdf
2351+
.PHONY: quick-install-doc quick-install-man quick-install-html
23472352
install-gitweb:
23482353
$(MAKE) -C gitweb install
23492354

@@ -2403,6 +2408,7 @@ rpm: dist
24032408

24042409
htmldocs = git-htmldocs-$(GIT_VERSION)
24052410
manpages = git-manpages-$(GIT_VERSION)
2411+
.PHONY: dist-doc distclean
24062412
dist-doc:
24072413
$(RM) -r .doc-tmp-dir
24082414
mkdir .doc-tmp-dir
@@ -2471,6 +2477,8 @@ ALL_COMMANDS += git
24712477
ALL_COMMANDS += gitk
24722478
ALL_COMMANDS += gitweb
24732479
ALL_COMMANDS += git-gui git-citool
2480+
2481+
.PHONY: check-docs
24742482
check-docs::
24752483
@(for v in $(ALL_COMMANDS); \
24762484
do \
@@ -2515,6 +2523,7 @@ check-builtins::
25152523
### Test suite coverage testing
25162524
#
25172525
.PHONY: coverage coverage-clean coverage-compile coverage-test coverage-report
2526+
.PHONY: coverage-untested-functions cover_db cover_db_html
25182527
.PHONY: coverage-clean-results
25192528

25202529
coverage:

0 commit comments

Comments
 (0)