File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed
Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 33* .sw ?
44* .html
55* .1
6+ * .1.gz
Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ Binaries
8080 Download `stringsext binaries `_ and verify hashes _.
8181
8282Manual page
83- `stringsext.1 `_
83+ `stringsext.1.gz `_
8484
8585.. _`stringsext binaries` : https://getreu.net/public/downloads/doc/stringsext/./target/
8686.. _hashes : https://getreu.net/public/sha256sum.txt
87- .. _`stringsext.1` : https://getreu.net/public/downloads/doc/stringsext/./man/stringsext.1
87+ .. _`stringsext.1.gz ` : https://getreu.net/public/downloads/doc/stringsext/./man/man1/ stringsext.1.gz
8888
8989
9090
@@ -104,14 +104,20 @@ Building and installing
104104 Enter the *Stringsext * source directory where the file ``Cargo.toml `` resides. Then execute::
105105
106106 cargo build --release
107-
107+ ./make-doc
108108
109109#. Install
110110
111- a. Linux ::
111+ a. Linux:
112+
113+ .. code :: bash
112114
115+ # install binary
113116 sudo cp target/release/stringsext /usr/local/bin/
114- sudo cp man/stringsext.1 /usr/local/man/man1/
117+
118+ # install man-page
119+ sudo cp man/stringsext.1.gz /usr/local/man/man1/
120+ sudo dpkg-reconfigure man-db # e.g. Debian, Ubuntu
115121
116122 b. Windows
117123
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33mkdir -p ./doc/build
4-
4+ mkdir --parents ./man/man1
55
66# Man page
7- rst2man.py ./doc/src/stringsext--man.rst > ./man/stringsext.1
7+ rst2man.py ./doc/src/stringsext--man.rst > ./man/man1/ stringsext.1
88rst2html.py --stylesheet=./doc/src/docutils_basic.css ./doc/src/stringsext--man.rst ./doc/build/stringsext--man.html
9-
9+ # You can also use pandoc
10+ # pandoc -s doc/src/stringsext--man.rst -t man -o man/man1/stringsext.1
11+ gzip man/man1/stringsext.1
1012
1113# index page
12- # rst2html.py --stylesheet=./doc/src/voidspace.css ./doc/src/README.rst ./doc/build/README.html
1314rst2html.py --stylesheet=./doc/src/docutils_basic.css ./doc/src/README.rst ./doc/build/README.html
1415
1516
You can’t perform that action at this time.
0 commit comments