File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ SOURCEDIR = .
99BUILDDIR = $(BUILD_DIR ) /doc
1010
1111default :
12- make html
12+ make html man
1313
1414view :
1515 xdg-open " $( BUILDDIR) /html/index.html"
1616
17- install : install-rst install-html
17+ install : install-rst install-html install-man
1818
1919install-rst :
2020 for rst in * .rst; do \
@@ -31,6 +31,13 @@ install-html:
3131 done ; \
3232 cp -r _static " $( DESTDIR) $( PACKAGE_DATA_DIR) /doc/$( PACKAGE) /html" ;
3333
34+ install-man :
35+ cd $(BUILDDIR ) /man; \
36+ for man in * .1; do \
37+ $(INSTALL ) -Dm644 $$ man \
38+ " $( DESTDIR) $( PACKAGE_DATA_DIR) /man/man1/$$ man" ; \
39+ done ; \
40+
3441# Put it first so that "make" without argument is like "make help".
3542help :
3643 @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
You can’t perform that action at this time.
0 commit comments