use path in makefile

This commit is contained in:
Gregor von Laszewski 2021-02-10 11:38:14 -05:00
parent 92ce17353f
commit 42c2c00374

View file

@ -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"