[pve-devel] [PATCH docs] include parent directory for CLI synopsis build

Thomas Lamprecht t.lamprecht at proxmox.com
Tue May 24 09:38:46 CEST 2016


The pve-cluster package is the only one using the %.1-synopsis.adoc
target from inside the PVE/ directory, thus -I. is not enough for
finding the PVE packages needed for this target, lets also include
the parent directory as a workaround.

I did not found any other package which uses %.1-synopsis.adoc or
%.8-synopsis.adoc and has this problem.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 pve-doc-generator.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pve-doc-generator.mk b/pve-doc-generator.mk
index 30762a5..76df02b 100644
--- a/pve-doc-generator.mk
+++ b/pve-doc-generator.mk
@@ -151,7 +151,7 @@ attributes.txt docinfo.xml:
 	mv $@.tmp $@
 
 %.1-synopsis.adoc:
-	perl -I. -e "use PVE::CLI::$(subst -,_,$*);print PVE::CLI::$(subst -,_,$*)->generate_asciidoc_synopsys();" > $@.tmp
+	perl -I. -I.. -e "use PVE::CLI::$(subst -,_,$*);print PVE::CLI::$(subst -,_,$*)->generate_asciidoc_synopsys();" > $@.tmp
 	mv $@.tmp $@
 
 %.8-synopsis.adoc:
-- 
2.1.4





More information about the pve-devel mailing list