Merge pull request #6 from laszewsk/main

Improve the Makefile
This commit is contained in:
Erhard Maria Klein 2021-02-10 17:51:21 +01:00 committed by GitHub
commit 27eda720dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,21 @@
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
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 exampleSite/themes
rm -rf exampleSite/*.epub