Commit e1854086 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

makefile: clean & deploy

parent 77fbf864
Pipeline #16130 passed with stage
in 8 seconds
SOURCES = $(filter-out README.md, $(wildcard *.md))
OUTPUTS = $(SOURCES:%.md=public/%.html)
DEST="/net/cubitus/projects/Partage_GEPETTO/Public/articles"
all: ${OUTPUTS}
public/%.html: %.md template.html bibliography.bib
pandoc -s -F pandoc-citeproc --template template.html -o $@ $<
all: public/cosyslam.html
clean:
rm -f ${OUTPUTS}
deploy: all
mkdir -p ${DEST}
cp ${OUTPUTS} ${DEST}
chown -R :gepetto ${DEST}
chmod -R a+rX,g+w ${DEST}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment