[libvirt] [v0.9.12-maint 4/5] build: avoid confusing make with raw name 'undefine'

Eric Blake eblake at redhat.com
Thu Sep 19 03:09:36 UTC 2013


Make has a builtin operator 'undefine', and coupled with latest
automake.git, this test name ended up confusing make into thinking
the file name was meant to be used as the make operator.  Renaming
the file avoids the confusion.

* tests/undefine: Rename...
* tests/virsh-undefine: ...to this.
* tests/Makefile.am (test_scripts): Use new name.
Reported by Jim Meyering.

(cherry picked from commit a20f06d9d9b0353d7fb7a8e11a631253d5961b96)
---
 tests/Makefile.am                  | 10 ++++++----
 tests/{undefine => virsh-undefine} |  0
 2 files changed, 6 insertions(+), 4 deletions(-)
 rename tests/{undefine => virsh-undefine} (100%)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 639be58..705cbb4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -178,12 +178,13 @@ test_scripts +=				\
 	read-bufsiz			\
 	read-non-seekable		\
 	start				\
-	undefine			\
 	vcpupin				\
 	virsh-all			\
 	virsh-optparse			\
 	virsh-schedinfo			\
-	virsh-synopsis
+	virsh-synopsis			\
+	virsh-undefine			\
+	$(NULL)

 test_programs += 			\
 	eventtest			\
@@ -199,12 +200,13 @@ EXTRA_DIST += 				\
 	read-bufsiz			\
 	read-non-seekable		\
 	start				\
-	undefine			\
 	vcpupin				\
 	virsh-all			\
 	virsh-optparse			\
 	virsh-schedinfo			\
-	virsh-synopsis
+	virsh-synopsis			\
+	virsh-undefine			\
+	$(NULL)
 endif

 if WITH_SECDRIVER_APPARMOR
diff --git a/tests/undefine b/tests/virsh-undefine
similarity index 100%
rename from tests/undefine
rename to tests/virsh-undefine
-- 
1.8.3.1




More information about the libvir-list mailing list