diff --git a/Makefile b/Makefile index 048fd44..b085886 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,19 @@ +#edit as you wish! + +OUTPUT = "out" + all: pull index init: pppadump init - mkdir out + mkdir $(OUTPUT) pull: - pppadump pull --all --force --css ../styles.css --pub out/p --group out/g + pppadump pull --all --force --css ../styles.css --pub $(OUTPUT)/p --group $(OUTPUT)/g index: - cp styles/styles.css out/ - pppadump index input out/p/*.meta.json --title "Notes, __MAGICWORDS__, readers & more ..." --templatepath templates/ --output out/index.html + cp styles/styles.css $(OUTPUT)/ + pppadump index input $(OUTPUT)/p/*.meta.json --title "Notes, __MAGICWORDS__, readers & more ..." --templatepath templates/ --output $(OUTPUT)/index.html clean: - rm -Rf out/ \ No newline at end of file + rm -Rf $(OUTPUT) \ No newline at end of file