use path in makefile
This commit is contained in:
parent
92ce17353f
commit
42c2c00374
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -5,11 +5,14 @@ quickstart:
|
||||||
# git clone https://github.com/weitblick/epub.git
|
# git clone https://github.com/weitblick/epub.git
|
||||||
# cd epub
|
# cd epub
|
||||||
mkdir -p exampleSite/themes
|
mkdir -p exampleSite/themes
|
||||||
|
|
||||||
cd exampleSite/themes; git clone https://github.com/weitblick/epub.git
|
cd exampleSite/themes; git clone https://github.com/weitblick/epub.git
|
||||||
cd exampleSite/themes/epub; rm -rf .git
|
rm -rf exampleSite/themes/epub/.git
|
||||||
cd exampleSite/themes/epub; rm -rf exampleSite # remove the example site in the theme
|
rm -rf exampleSite/themes/epub/exampleSite
|
||||||
|
|
||||||
cd exampleSite; hugo
|
cd exampleSite; hugo
|
||||||
cd exampleSite; bash ./deploy.sh
|
cd exampleSite; bash ./deploy.sh
|
||||||
|
|
||||||
echo "Your example epub is generated at"
|
echo "Your example epub is generated at"
|
||||||
echo
|
echo
|
||||||
echo "exampleSite/ebook.epub"
|
echo "exampleSite/ebook.epub"
|
||||||
|
|
Loading…
Reference in a new issue