]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build: fix "make rpm"
authorLaine Stump <laine@laine.org>
Fri, 3 Aug 2012 04:47:38 +0000 (00:47 -0400)
committerLaine Stump <laine@laine.org>
Fri, 3 Aug 2012 14:38:24 +0000 (10:38 -0400)
make rpm was failing with the following error:

Entering directory `/home/laine/devel/libvirt/tests'
make[2]: *** No rule to make target `viratomicdata.h',
             needed by `distdir'.  Stop.

viratomicdata.h is listed in tests/Makefile.am as a dependency of
viratomictest, but doesn't exist, is never referenced, and removing
that dependency permits make rpm to complete successfully.

tests/Makefile.am

index ac26bc5d61c9cdf3b83d0f8162a9dd87cb49b0c9..2fdaace96e094f274fb261d0e7c342703d636b1f 100644 (file)
@@ -531,7 +531,7 @@ virhashtest_SOURCES = \
 virhashtest_LDADD = $(LDADDS)
 
 viratomictest_SOURCES = \
-       viratomictest.c viratomicdata.h testutils.h testutils.c
+       viratomictest.c testutils.h testutils.c
 viratomictest_LDADD = $(LDADDS)
 
 jsontest_SOURCES = \