maint: allow VPATH use of remote_protocol-structs

* src/Makefile.am (remote_protocol-structs): Ensure file lives in srcdir.
This commit is contained in:
Eric Blake 2010-05-10 15:17:31 -06:00
parent 1c5891204d
commit 3876e010eb

View 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'; \