19 lines
408 B
Makefile
19 lines
408 B
Makefile
#edit as you wish!
|
|
|
|
OUTPUT = "out"
|
|
|
|
all: pull index
|
|
|
|
init:
|
|
pppadump init
|
|
mkdir $(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)
|