epub/Makefile
Gregor von Laszewski 42c2c00374 use path in makefile
2021-02-10 11:38:14 -05:00

25 lines
No EOL
507 B
Makefile

#
# we assume you already cloned epub
#
quickstart:
# git clone https://github.com/weitblick/epub.git
# cd epub
mkdir -p exampleSite/themes
cd exampleSite/themes; git clone https://github.com/weitblick/epub.git
rm -rf exampleSite/themes/epub/.git
rm -rf exampleSite/themes/epub/exampleSite
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