]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
build: fix VPATH build of todo
authorEric Blake <eblake@redhat.com>
Thu, 14 Jul 2011 15:41:38 +0000 (09:41 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 14 Jul 2011 15:41:38 +0000 (09:41 -0600)
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.

docs/Makefile.am

index 050ebe1502202a5c4716ef2e2d45db88a3d16f83..7ff94a04a8623ec8d1d66318d0d2dc7166ef2c06 100644 (file)
@@ -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 $@"; \