cppannotations/README.kindle
2015-12-20 14:31:17 +01:00

42 lines
976 B
Text

To create the kindle version:
* build programs
* build pre
* kindlegen's archive in ~/xfer
* do:
gd tmp/kindlegen
tarx $HOME/xfer/kindlegen_linux_2.6_i386_v2_8.tar.gz
* xd 2b
* createhtml kindle
* xd 1h
* edit ./cplusplus.opf to reflect the latest version, maybe add a new
chapter.
* do:
../tmp/kindlegen/kindlegen -gif cplusplus.opf |& tee /tmp/out
* the new file is cplusplus.mobi
* Follow the instructions at
https://kdp.amazon.com/self-publishing/dashboard
Select: `Book actions' for uploading the latest version:
- Click on C++ Annotations
- Edit the version
- Click Browse to go to the location where the .mobi file is and
upload
Don't forget to tick the accept option and to do `Save and Publish'
(even if that was already selected earlier)
* cd ..
* build distclean
* rm html/cplusplus.mobi