summaryrefslogtreecommitdiff
path: root/README
blob: f9812d45ed121ef1e7a7ee64f45fbe8a1928b4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Here is a script and a Makefile for generating a debmake docset for Dash. It is built from documentation provided by the [debmake-doc](https://salsa.debian.org/debian/debmake-doc) package and provides guides useful for the creation of deb packages. The script is loosely based on benzado's script for GNU Make https://github.com/benzado/gnu-make-dash-docset.

- debmake: https://salsa.debian.org/debian/debmake
- Dash: https://kapeli.com/dash

Requirements:

- any POSIX-compliant shell
- curl
- make
- sqlite3

In addition, this script is designed to be run on a Debian or Debian-based system where the debmake-doc package can be installed, as the script will check to make sure it can source the docset's html pages from /usr/share/doc/debmake-doc/html

To generate a docset from the the debmake-doc package, simply execute `make` from the same directory as this README file. The version installed on the system will be packaged appropriately. The default locale is English (en). Alternative locales can be specified by executing `make LOCALE=$(locale)` (where $(locale) is the short form, i.e. "en"). The list of supported locales is listed below:

- German           (de)
- English          (en)
- Japanese         (jp)
- Russian          (ru)
- Chinese (China)  (zh-cn)
- Chinese (Taiwan) (zh-tw)