mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-04-29 11:38:23 +00:00
* Build manpages with "make man". Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Adds "make man" to github workflows. Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Remove shell script dependency. Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Change git URLs to https. Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Moved git clone to Makefile. Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Fixed typo. Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Adding pandoc install. Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Moved to Makefile. Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * First commit toward programmatic creation of manpages.rst Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Multiple updates: 1. man-pages.rst now generated by script. 2. Updated Makefile and make.bat with "man" and "clean-man" recipes. 3. Fixed typo in conf.py. 4. Many improvements to manpages.py Signed-off-by: Kevin Putnam <kevin.putnam@intel.com> * Updated readme for man pages and added man-pages.rst Signed-off-by: Kevin Putnam <kevin.putnam@intel.com>
35 lines
1.1 KiB
Batchfile
35 lines
1.1 KiB
Batchfile
@ECHO OFF
|
|
|
|
REM Command file for building man pages
|
|
|
|
if "%1" == "man" (
|
|
git clone https://github.com/clearlinux/clr-man-pages.git
|
|
git clone https://github.com/clearlinux/clr-power-tweaks.git
|
|
git clone https://github.com/clearlinux/clrtrust.git
|
|
git clone https://github.com/clearlinux/mixer-tools.git
|
|
git clone https://github.com/clearlinux/swupd-client.git
|
|
git clone https://github.com/clearlinux/telemetrics-client.git
|
|
git clone https://github.com/clearlinux/tallow.git
|
|
git clone https://github.com/clearlinux/micro-config-drive.git
|
|
python.exe manpages.py
|
|
mkdir ..\..\..\reference\manpages
|
|
copy *.rst ..\..\..\reference\manpages
|
|
goto end
|
|
)
|
|
|
|
if "%1" == "clean-man" (
|
|
rmdir /q /s clr-man-pages
|
|
rmdir /q /s clr-power-tweaks
|
|
rmdir /q /s clrtrust
|
|
rmdir /q /s mixer-tools
|
|
rmdir /q /s swupd-client
|
|
rmdir /q /s telemetrics-client
|
|
rmdir /q /s tallow
|
|
rmdir /q /s micro-config-drive
|
|
del *.rst
|
|
del ..\..\..\reference\manpages\*.rst
|
|
del ..\..\..\reference\man-pages.rst
|
|
goto end
|
|
)
|
|
|
|
:end |