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

[libvirt] [PATCH] 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.
---

Pushing under the trivial rule.

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

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 050ebe1..7ff94a0 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 $@"; \
-- 
1.7.4.4


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