[PATCH] build: fix VPATH build of todo

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

 



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

--
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]