out is a var

This commit is contained in:
gauthiier 2021-12-11 18:13:51 +01:00
parent 53ebcb689d
commit 7dba9e805f

View File

@ -1,15 +1,19 @@
#edit as you wish!
OUTPUT = "out"
all: pull index all: pull index
init: init:
pppadump init pppadump init
mkdir out mkdir $(OUTPUT)
pull: 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: index:
cp styles/styles.css out/ cp styles/styles.css $(OUTPUT)/
pppadump index input out/p/*.meta.json --title "Notes, __MAGICWORDS__, readers & more ..." --templatepath templates/ --output out/index.html pppadump index input $(OUTPUT)/p/*.meta.json --title "Notes, __MAGICWORDS__, readers & more ..." --templatepath templates/ --output $(OUTPUT)/index.html
clean: clean:
rm -Rf out/ rm -Rf $(OUTPUT)