]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: allow VPATH use of remote_protocol-structs
authorEric Blake <eblake@redhat.com>
Mon, 10 May 2010 21:17:31 +0000 (15:17 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 10 May 2010 21:17:31 +0000 (15:17 -0600)
* src/Makefile.am (remote_protocol-structs): Ensure file lives in srcdir.

src/Makefile.am

index 1542ab1662fd258912a70f2e2893bf155f39bba9..15bc8fcb2be0ab2d65a0b460b71544f6c932c9d6 100644 (file)
@@ -179,7 +179,7 @@ remote_protocol-structs:
                -e '      $$p =~ s!\s+$$!!;'                            \
                -e '      print "$$p\n" } }'                            \
                > $@-t;                                                 \
-         diff -u $@-t $@; st=$$?; rm -f $@-t; exit $$st;               \
+         diff -u $@-t $(srcdir)/$@; st=$$?; rm -f $@-t; exit $$st;     \
        else                                                            \
          echo 'WARNING: you lack pdwtags; skipping the $@ test';       \
          echo 'WARNING: install the dwarves package to get pdwtags';   \