mirror of
https://github.com/clearlinux/clear-linux-documentation.git
synced 2026-06-16 02:46:01 +00:00
a6204a18cb
* 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>
46 lines
608 B
Makefile
46 lines
608 B
Makefile
# Makefile for Sphinx documentation
|
|
|
|
SHELL := /bin/bash
|
|
|
|
PY_VERSION ?= 3.6
|
|
|
|
all:
|
|
make -C source html
|
|
|
|
htmlall:
|
|
make -C source htmlall
|
|
|
|
htmlzh:
|
|
make -C source htmlzh
|
|
|
|
htmlde:
|
|
make -C source htmlde
|
|
|
|
html:
|
|
make -C source html
|
|
|
|
linkcheck:
|
|
make -C source linkcheck
|
|
|
|
py:
|
|
make -C source py
|
|
|
|
man:
|
|
make -C source man
|
|
|
|
clean-man:
|
|
make -C source clean-man
|
|
|
|
help:
|
|
@echo "Please use \`make <target>' where <target> is one of"
|
|
@echo " html to make standalone HTML files"
|
|
|
|
clean:
|
|
make -C source clean
|
|
rm -rf venv
|
|
|
|
venv:
|
|
virtualenv venv;\
|
|
source venv/bin/activate; \
|
|
pip3 install -r requirements.txt;
|