diff options
author | Jan Safranek <jsafrane@redhat.com> | 2013-10-02 10:42:35 +0200 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2013-10-02 10:42:35 +0200 |
commit | f056906076b2bee0f95d5b57eb57d76d77787446 (patch) | |
tree | b75bbfae912bff8132e7c646fa82c42768efa611 /tools/gendoc/doc/mof/Makefile | |
parent | c1f06a0b8745c2859c6f09789fd5965d87579c63 (diff) | |
download | openlmi-providers-f056906076b2bee0f95d5b57eb57d76d77787446.tar.gz openlmi-providers-f056906076b2bee0f95d5b57eb57d76d77787446.tar.xz openlmi-providers-f056906076b2bee0f95d5b57eb57d76d77787446.zip |
Add 'gendoc' tool to generate overall documentation of all OpenLMI subprojects.
Diffstat (limited to 'tools/gendoc/doc/mof/Makefile')
-rw-r--r-- | tools/gendoc/doc/mof/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tools/gendoc/doc/mof/Makefile b/tools/gendoc/doc/mof/Makefile new file mode 100644 index 0000000..9882f7d --- /dev/null +++ b/tools/gendoc/doc/mof/Makefile @@ -0,0 +1,29 @@ +all: index.rst + +MOFS=../clones/openlmi-providers/mof/05_LMI_Qualifiers.mof \ + ../clones/openlmi-providers/mof/30_LMI_Jobs.mof \ + ../clones/openlmi-providers/mof/60_LMI_Account.mof \ + ../clones/openlmi-providers/mof/60_LMI_Fan.mof \ + ../clones/openlmi-providers/mof/60_LMI_Hardware.mof \ + ../clones/openlmi-providers/mof/60_LMI_LogicalFile.mof \ + ../clones/openlmi-providers/mof/60_LMI_PCP.mof \ + ../clones/openlmi-providers/mof/60_LMI_PowerManagement.mof \ + ../clones/openlmi-providers/mof/60_LMI_Realmd.mof \ + ../clones/openlmi-providers/mof/60_LMI_Service.mof \ + ../clones/openlmi-providers/mof/60_LMI_Software.mof \ + ../clones/openlmi-networking/mof/60_LMI_Networking.mof \ + ../clones/openlmi-storage/mof/LMI_Storage-Base.mof \ + ../clones/openlmi-storage/mof/LMI_Storage-BlockStorage.mof \ + ../clones/openlmi-storage/mof/LMI_Storage-Filesystem.mof \ + ../clones/openlmi-storage/mof/LMI_Storage-Jobs.mof \ + ../clones/openlmi-storage/mof/LMI_Storage-Luks.mof \ + ../clones/openlmi-storage/mof/LMI_Storage-Mounting.mof \ + ../clones/openlmi-storage/mof/LMI_Storage-Partitions.mof + +clean: + rm -f *.rst + +index.rst: $(MOFS) + openlmi-doc-class2rst -H header.txt -M `echo $(MOFS) | sed 's/ / -M /g'` \ + -S /usr/share/mof/cim-current/CIM_Schema.mof \ + `cat $(MOFS) | grep "^class" | cut -d ' ' -f 2 | sed 's/://'` |