From: Eric Blake Date: Mon, 10 May 2010 21:17:31 +0000 (-0600) Subject: maint: allow VPATH use of remote_protocol-structs X-Git-Tag: v0.8.2~304 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3876e010eb0023556558040a79bea40ded26d95f;p=thirdparty%2Flibvirt.git maint: allow VPATH use of remote_protocol-structs * src/Makefile.am (remote_protocol-structs): Ensure file lives in srcdir. --- diff --git a/src/Makefile.am b/src/Makefile.am index 1542ab1662..15bc8fcb2b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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'; \