Commit 9fe5be37 authored by Rémy Le Calloch's avatar Rémy Le Calloch

Ajout d'un makefile basique

parents
DIR = $(shell pwd)
sources =\
index.md\
menu.md\
Documents/CR/20-12-07.md
pages = ${sources:%.md=public/%.html}
styles = main.css
images = Images/
all: menu ${pages}
clean:; rm -rf tmp public menu.md menu.html
tmp:; mkfifo $@
${pages}: tmp
public/%.html: %.md ; install -D tmp $@ & < $< pandoc -s --toc --self-contained --include-before-body=${DIR}/menu.html --css=${DIR}/main.css > tmp
Markdown is supported
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