diff --git a/.gitignore b/.gitignore index d94d070..42bdf1d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ *.aux *.log *.out +*.zip diff --git a/Makefile b/Makefile index 5c1a930..05ffc47 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ NAME=KsKit +DISTFILES=$(NAME).pdf $(NAME).html img/* *.lua -default: $(NAME).html $(NAME).pdf +default: $(DISTFILES) $(NAME).html: README.md awk -f grapho/md2html <$< >$@ @@ -12,5 +13,8 @@ $(NAME).pdf: $(NAME).tex pdflatex $< pdflatex $< +$(NAME).zip: $(DISTFILES) + zip $@ $(DISTFILES) + clean: - rm -f *.html *.pdf *.tex *.aux *.log *.out + rm -f *.html *.pdf *.tex *.aux *.log *.out *.zip