]> 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>
Wed, 12 Sep 2012 17:27:22 +0000 (11:27 -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.

tests/Makefile.am
tests/virsh-undefine [moved from tests/undefine with 100% similarity]

index bec89e20e55226ee7ce92b4806aadc79624abfb8..c5cecaa38e2b2bf917767c6fc61f0edbdd6884e8 100644 (file)
@@ -182,12 +182,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                       \
@@ -203,12 +204,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