[pve-devel] [PATCH docs] doc-generator: synopsis: add parent directory to include path
Dietmar Maurer
dietmar at proxmox.com
Fri Jul 27 11:59:43 CEST 2018
Not sure why we need/want that?
> On July 27, 2018 at 11:48 AM Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:
>
>
> 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
>
>
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list