out is a var
This commit is contained in:
parent
53ebcb689d
commit
7dba9e805f
14
Makefile
14
Makefile
@ -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)
|
||||||
Loading…
x
Reference in New Issue
Block a user