From: Eric Blake Date: Thu, 14 Jul 2011 15:41:38 +0000 (-0600) Subject: build: fix VPATH build of todo X-Git-Tag: v0.9.4-rc1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8f36e74ad0bf2271cc2efdb9f37d0572d16fcdb;p=thirdparty%2Flibvirt.git build: fix VPATH build of todo Without this patch, the make rule in a VPATH build was trying to invoke ../../docs/../../docs/todo.pl, which didn't exist. * docs/Makefile.am (todo.html.in): Using $< already implies $(srcdir) in GNU make VPATH situations. --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 050ebe1502..7ff94a04a8 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -104,7 +104,7 @@ web: $(dot_html) html/index.html devhelp/index.html todo.html.in: todo.pl if [ -f todo.cfg ]; then \ echo "Generating $@"; \ - $(PERL) $(srcdir)/$< > $@ \ + $(PERL) $< > $@ \ || { rm $@ && exit 1; }; \ else \ echo "Stubbing $@"; \