From: Yin Lin Date: Wed, 23 Dec 2015 21:18:29 +0000 (-0800) Subject: Makefile: Mark non-file targets as .PHONY. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=c9172561dff7b223660470bb16deb1acb2056c64 Makefile: Mark non-file targets as .PHONY. Some lately added targets (ovsext_make and thread-safety-check) are not files but were not marked as .PHONY. This causes them to be rebuilt unnecessarily during "make check" and "make install" process. Signed-off-by: Yin Lin Signed-off-by: Ben Pfaff --- diff --git a/AUTHORS b/AUTHORS index 178060075..06f82fa5c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -219,6 +219,7 @@ William Tu u9012063@gmail.com YAMAMOTO Takashi yamamoto@midokura.com Yasuhito Takamiya yasuhito@gmail.com yinpeijun yinpeijun@huawei.com +Yin Lin linyi@vmware.com Yu Zhiguo yuzg@cn.fujitsu.com ZhengLingyun konghuarukhr@163.com Zoltán Balogh zoltan.balogh@ericsson.com diff --git a/Makefile.am b/Makefile.am index 966ba272b..95087a518 100644 --- a/Makefile.am +++ b/Makefile.am @@ -323,6 +323,7 @@ thread-safety-check: exit 1; \ fi EXTRA_DIST += build-aux/thread-safety-blacklist +.PHONY: thread-safety-check if HAVE_GROFF ALL_LOCAL += manpage-check @@ -359,6 +360,7 @@ CLEAN_LOCAL += ovsext_clean ovsext_clean: datapath-windows/ovsext.sln MSBuild.exe datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8$(VSTUDIO_CONFIG)" MSBuild.exe datapath-windows/ovsext.sln /target:Clean /property:Configuration="Win8.1$(VSTUDIO_CONFIG)" +.PHONY: ovsext_make endif dist-hook: $(DIST_HOOKS)