[Libevent-users] [PATCH] test/Makefile.am: Correct a relative path issue

Christopher Layne clayne at anodized.com
Tue Sep 18 04:41:16 EDT 2007


1. event_rpcgen.py will fail to open regress.rpc if building outside the source
directory.

-cl

--

Index: Makefile.am
===================================================================
--- Makefile.am	(revision 433)
+++ Makefile.am	(working copy)
@@ -18,7 +18,7 @@
 bench_SOURCES = bench.c
 
 regress.gen.c regress.gen.h: regress.rpc
-	$(top_srcdir)/event_rpcgen.py regress.rpc || echo "No Python installed"
+	$(top_srcdir)/event_rpcgen.py ${srcdir}/regress.rpc || echo "No Python installed"
 
 DISTCLEANFILES = *~
 CLEANFILES = regress.gen.h regress.gen.c


More information about the Libevent-users mailing list