]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: avoid confusing make with raw name 'undefine'
authorEric Blake <eblake@redhat.com>
Wed, 12 Sep 2012 17:25:51 +0000 (11:25 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 18 Oct 2013 16:01:59 +0000 (10:01 -0600)
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
tests/virsh-undefine [moved from tests/undefine with 100% similarity]

index 034eed67f01d1eaa86dbb7cd23f98dc336ace646..399733e0571861b54c5b52df51016704970a627b 100644 (file)
@@ -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
 else
@@ -198,12 +199,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
similarity index 100%
rename from tests/undefine
rename to tests/virsh-undefine