pppindex/Makefile

19 lines
411 B
Makefile
Raw Permalink Normal View History

2021-12-11 18:13:51 +01:00
#edit as you wish!
OUTPUT = "out"
2021-12-05 18:12:01 +01:00
all: pull index
init:
2021-12-06 18:17:54 +01:00
pppadump init
2021-12-11 18:17:01 +01:00
mkdir -p $(OUTPUT)
2021-12-05 18:12:01 +01:00
pull:
2021-12-11 18:13:51 +01:00
pppadump pull --all --force --css ../styles.css --pub $(OUTPUT)/p --group $(OUTPUT)/g
2021-12-05 18:12:01 +01:00
index:
2021-12-11 18:13:51 +01:00
cp styles/styles.css $(OUTPUT)/
pppadump index input $(OUTPUT)/p/*.meta.json --title "Notes, __MAGICWORDS__, readers & more ..." --templatepath templates/ --output $(OUTPUT)/index.html
2021-12-05 18:12:01 +01:00
clean:
2021-12-11 18:13:51 +01:00
rm -Rf $(OUTPUT)