[PATCH] maint: allow VPATH use of remote_protocol-structs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* src/Makefile.am (remote_protocol-structs): Ensure file lives in srcdir.
---

Jim's new check didn't quite work in a VPATH setup.

I'm applying it as obvious, since it was a build-breaker:

  GEN    remote_protocol-structs
diff: remote_protocol-structs: No such file or directory
make[3]: *** [remote_protocol-structs] Error 2

 src/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 1542ab1..15bc8fc 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';	\
-- 
1.7.0.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]