This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PANDOC = pandoc | |
%.html: %.md style.css Makefile | |
$(PANDOC) -c style.css -s -f markdown -t html --standalone -o $@ $< | |
%.odt: %.md Makefile | |
$(PANDOC) --standalone -f markdown -t odt -o $@ $< | |
%.epub: %.md Makefile | |
$(PANDOC) -o $@ $< |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%.mkd.pdf: %.mkd jpp.beamer jpp.latex | |
@echo "\t $< --> $@" | |
@${PANDOC} ${PANDOC_OPTIONS} -s "$<" -o "$@" >> /dev/null | |
spell: | |
@for f in *.mkd; do aspell check "$$f"; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXE_dia=hello_dia.txt | |
SRC_dia= $(wildcard *.dia) | |
OBJ_dia= $(SRC_dia:.dia=_dia.pdf) | |
EXE_dot=hello_dot.txt | |
SRC_dot= $(wildcard *.dot) | |
OBJ_dot= $(SRC_dot:.dot=_dot.pdf) | |
all: dia graphviz web |