Invoke make-internal-documentation.pl by its path in the source
directory.
Also, depend on it to regenerate the documentation in case
make-internal-documentation.pl changes.
---
docs/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/Makefile.am b/docs/Makefile.am
index e1f2df952..f16f16c5e 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -151,9 +151,9 @@ stamp-guestfs-hacking.pod: guestfs-hacking.pod
internal-documentation.pod
source_files := $(shell cat $(srcdir)/C_SOURCE_FILES)
-internal-documentation.pod: $(source_files:%=$(top_srcdir)/%)
+internal-documentation.pod: $(source_files:%=$(top_srcdir)/%)
$(srcdir)/make-internal-documentation.pl
rm -f $@ $@-t
- ./make-internal-documentation.pl \
+ $(srcdir)/make-internal-documentation.pl \
--srcdir $(top_srcdir) \
-o $@-t \
$(source_files)
--
2.23.0