pppindex/Makefile
2021-12-11 18:17:01 +01:00

19 lines
411 B
Makefile

#edit as you wish!
OUTPUT = "out"
all: pull index
init:
pppadump init
mkdir -p $(OUTPUT)
pull:
pppadump pull --all --force --css ../styles.css --pub $(OUTPUT)/p --group $(OUTPUT)/g
index:
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 $(OUTPUT)