[ovs-dev] [PATCH branch-2.5] Makefile.am: Avoid Automake warning for .PHONY inside conditional.

Ben Pfaff blp at ovn.org
Sat Feb 27 17:05:41 UTC 2016


Without this change, Automake warns:

    Makefile.am:364: warning: .PHONY was already defined in condition TRUE, which includes condition VSTUDIO_DDK ...
    Makefile.am:201: ... '.PHONY' previously defined here

This fixes the warning (which is harmless anyway).

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index cd112e2..ed43c2f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2015 Nicira, Inc.
+# Copyright (C) 2007-2016 Nicira, Inc.
 #
 # Copying and distribution of this file, with or without modification,
 # are permitted in any medium without royalty provided the copyright
@@ -361,8 +361,8 @@ 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
+.PHONY: ovsext_make
 
 dist-hook: $(DIST_HOOKS)
 all-local: $(ALL_LOCAL)
-- 
2.1.3




More information about the dev mailing list