commit
27eda720dd
1 changed files with 18 additions and 10 deletions
28
Makefile
28
Makefile
|
@ -4,13 +4,21 @@
|
||||||
quickstart:
|
quickstart:
|
||||||
# git clone https://github.com/weitblick/epub.git
|
# git clone https://github.com/weitblick/epub.git
|
||||||
# cd epub
|
# cd epub
|
||||||
cd exampleSite
|
mkdir -p exampleSite/themes
|
||||||
mkdir themes
|
|
||||||
cd themes
|
cd exampleSite/themes; git clone https://github.com/weitblick/epub.git
|
||||||
git clone https://github.com/weitblick/epub.git
|
rm -rf exampleSite/themes/epub/.git
|
||||||
cd epub
|
rm -rf exampleSite/themes/epub/exampleSite
|
||||||
rm -rf .git
|
|
||||||
rm -rf exampleSite # remove the example site in the theme
|
cd exampleSite; hugo
|
||||||
cd ../..
|
cd exampleSite; bash ./deploy.sh
|
||||||
hugo
|
|
||||||
bash ./deploy.sh
|
echo "Your example epub is generated at"
|
||||||
|
echo
|
||||||
|
echo "exampleSite/ebook.epub"
|
||||||
|
echo
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf exampleSite/themes
|
||||||
|
rm -rf exampleSite/*.epub
|
Loading…
Reference in a new issue