]> git.proxmox.com Git - pve-cluster.git/commitdiff
fix rule for %.1-synopsis.adoc
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 24 May 2016 14:32:32 +0000 (16:32 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 24 May 2016 14:32:32 +0000 (16:32 +0200)
use correct include path -I..

data/PVE/Makefile.am

index d7e6225fd4c0ff0b15947f7225a1068fdd34dd46..5eb7845536595a50239b3d756385d068bfaf2d8d 100644 (file)
@@ -19,6 +19,10 @@ include /usr/share/pve-doc-generator/pve-doc-generator.mk
        perl -I.. -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_bash_completions();" >$@.tmp
        mv $@.tmp $@
 
+# overwrite rule from pve-doc-generator.mk, use -I.. (instead of -I.)
+%.1-synopsis.adoc:
+       perl -I.. -e "use PVE::CLI::$(subst -,_,$*);print PVE::CLI::$(subst -,_,$*)->generate_asciidoc_synopsys();" > $@.tmp
+       mv $@.tmp $@
 
 man1_MANS = pvecm.1
 man5_MANS = datacenter.cfg.5