make support generate cover

pull/1/head
chai2010 2015-12-22 15:17:55 +08:00
parent 2e10c73142
commit d8ec4b0fce
2 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,8 @@
# https://github.com/GitbookIO/gitbook
# https://github.com/wastemobile/gitbook
# http://www.imagemagick.org/
default:
gitbook build
@ -26,3 +28,8 @@ review:
gitbook build
go run zh2tw.go . .md$$ zh2tw
cover:
composite cover_patch.png cover_bgd.png cover.jpg
convert -resize 1800x2360! cover.jpg cover.jpg
convert -resize 200x262! cover.jpg cover_small.jpg

BIN
cover_patch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB