add clean to makefile

This commit is contained in:
Gregor von Laszewski 2021-02-10 11:34:47 -05:00
parent 0a1f47bc13
commit 92ce17353f

View file

@ -4,13 +4,19 @@
quickstart:
# git clone https://github.com/weitblick/epub.git
# cd epub
cd exampleSite
mkdir themes
cd themes
git clone https://github.com/weitblick/epub.git
cd epub
rm -rf .git
rm -rf exampleSite # remove the example site in the theme
cd ../..
hugo
bash ./deploy.sh
mkdir -p exampleSite/themes
cd exampleSite/themes; git clone https://github.com/weitblick/epub.git
cd exampleSite/themes/epub; rm -rf .git
cd exampleSite/themes/epub; rm -rf exampleSite # remove the example site in the theme
cd exampleSite; hugo
cd exampleSite; bash ./deploy.sh
echo "Your example epub is generated at"
echo
echo "exampleSite/ebook.epub"
echo
clean:
rm -rf exexampleSite/themes
rm -rf exexampleSite/*.epub