2022-04-07 18:39:46 +02:00
|
|
|
NAME=KsKit
|
2022-04-08 23:44:19 +02:00
|
|
|
DISTFILES=$(NAME).pdf $(NAME).html img/* *.lua
|
2022-04-07 18:39:46 +02:00
|
|
|
|
2022-04-08 23:44:19 +02:00
|
|
|
default: $(DISTFILES)
|
2022-04-07 18:39:46 +02:00
|
|
|
|
2022-04-08 23:09:29 +02:00
|
|
|
$(NAME).html: README.md
|
2022-04-07 18:39:46 +02:00
|
|
|
awk -f grapho/md2html <$< >$@
|
|
|
|
|
|
|
|
$(NAME).tex: README.md
|
|
|
|
awk -f grapho/md2tex <$< >$@
|
|
|
|
|
|
|
|
$(NAME).pdf: $(NAME).tex
|
|
|
|
pdflatex $<
|
|
|
|
pdflatex $<
|
|
|
|
|
2022-04-08 23:44:19 +02:00
|
|
|
$(NAME).zip: $(DISTFILES)
|
|
|
|
zip $@ $(DISTFILES)
|
|
|
|
|
2022-04-07 18:39:46 +02:00
|
|
|
clean:
|
2022-04-08 23:44:19 +02:00
|
|
|
rm -f *.html *.pdf *.tex *.aux *.log *.out *.zip
|