This patch will change several behaviour while generating the ebook:
- `build.go` now accepts two environment variables: TMP, WORKDIR
* TMP:
Temporary directory path.
The directory stores intermediate files like '*.html' or metadata.txt.
* WORKDIR:
Script base directory.
- `config` as language file
config file will be `source`d to change its ebook metadata.
- `genepub.sh` is integrated to `build.sh` and `build.go`
See `FixHeader` and `RemoveFooterLink` functions.
7 lines
343 B
Plaintext
7 lines
343 B
Plaintext
MSG_INSTALL_PANDOC_FIRST='pandocをインストール後、再度実行してください。'
|
|
MSG_SUCCESSFULLY_GENERATED='build-web-application-with-golang.epub を作成しました'
|
|
MSG_CREATOR='Astaxie'
|
|
MSG_DESCRIPTION='オープンソースのGo Webプログラミング書籍'
|
|
MSG_LANGUAGE='ja-JP'
|
|
MSG_TITLE='Go Webプログラミング'
|