2023-12-28 01:48:58 +01:00
|
|
|
## Requirements
|
|
|
|
|
2024-01-08 09:01:22 +01:00
|
|
|
- [`chordpro`](https://github.com/ChordPro/chordpro/)
|
2023-12-28 01:48:58 +01:00
|
|
|
- `ghostscript`
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
2024-01-08 09:01:22 +01:00
|
|
|
`make` defaults to `all` which builds individual PDF and HTML files for
|
2023-12-28 01:48:58 +01:00
|
|
|
all songs. It also builds two complete songbooks for *mixtape* and *classic*.
|
|
|
|
|
2024-01-08 09:01:22 +01:00
|
|
|
Available targets: `all`, `pdf`, `html`, `clean`
|
2023-12-28 01:48:58 +01:00
|
|
|
|
2024-01-08 09:01:22 +01:00
|
|
|
You can also build PDF for a specific page with:
|
|
|
|
|
|
|
|
```
|
|
|
|
chordpro --config=chordpro.json path/to/song.cho
|
|
|
|
```
|
|
|
|
|
|
|
|
or build HTML output with:
|
|
|
|
|
|
|
|
```
|
|
|
|
chordpro --config=chordpro.json -o path/to/song.html path/to/song.cho
|
|
|
|
```
|