Makefile: Mark non-file targets as .PHONY.
authorYin Lin <linyi@vmware.com>
Wed, 23 Dec 2015 21:18:29 +0000 (13:18 -0800)
committerBen Pfaff <blp@ovn.org>
Wed, 23 Dec 2015 22:01:08 +0000 (14:01 -0800)
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 <linyi@vmware.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
AUTHORS
Makefile.am

diff --git a/AUTHORS b/AUTHORS
index 1780600..06f82fa 100644 (file)
--- 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
index 966ba27..95087a5 100644 (file)
@@ -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)