From 3876e010eb0023556558040a79bea40ded26d95f Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 10 May 2010 15:17:31 -0600 Subject: [PATCH] maint: allow VPATH use of remote_protocol-structs * src/Makefile.am (remote_protocol-structs): Ensure file lives in srcdir. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; \