mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
docs: fix out-of-source documentation build
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user