[pve-devel] [PATCH docs] doc-generator: synopsis: add parent directory to include path
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Jul 27 11:48:33 CEST 2018
As often the wanted PVE directory is one level higher.
Add it after the current direcotry so that the current one always has
precedence over its parent.
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
* fixes a build error with pve-manager here where the pvesh docs couldn't be build
pve-doc-generator.mk.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pve-doc-generator.mk.in b/pve-doc-generator.mk.in
index ddc0217..53291ab 100644
--- a/pve-doc-generator.mk.in
+++ b/pve-doc-generator.mk.in
@@ -30,11 +30,11 @@ pveperf.1-synopsis.adoc:
echo '*pveperf* `[PATH]`' > pveperf.1-synopsis.adoc
%.1-synopsis.adoc:
- $(PERL_DOC_ENV) perl -I. -e "use PVE::CLI::$(subst -,_,$*);print PVE::CLI::$(subst -,_,$*)->generate_asciidoc_synopsis();" > $@.tmp
+ $(PERL_DOC_ENV) perl -I. -I.. -e "use PVE::CLI::$(subst -,_,$*);print PVE::CLI::$(subst -,_,$*)->generate_asciidoc_synopsis();" > $@.tmp
mv $@.tmp $@
%.8-synopsis.adoc:
- $(PERL_DOC_ENV) perl -I. -e "use PVE::Service::$(subst -,_,$*);print PVE::Service::$(subst -,_,$*)->generate_asciidoc_synopsis();" > $@.tmp
+ $(PERL_DOC_ENV) perl -I. -I.. -e "use PVE::Service::$(subst -,_,$*);print PVE::Service::$(subst -,_,$*)->generate_asciidoc_synopsis();" > $@.tmp
mv $@.tmp $@
ifneq (${DGDIR},.)
--
2.18.0
More information about the pve-devel
mailing list