aboutsummaryrefslogtreecommitdiff
path: root/pdf.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pdf.mk')
-rw-r--r--pdf.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf.mk b/pdf.mk
index 83fc6d6..a8425d7 100644
--- a/pdf.mk
+++ b/pdf.mk
@@ -1,3 +1,4 @@
+RM = rm -f
INKSCAPE = inkscape
FIGS_SVG = $(wildcard *.svg)
@@ -8,3 +9,6 @@ FIGS_PDF = $(patsubst %.svg,%.pdf, $(FIGS_SVG))
$(TARGET).pdf: $(TARGET).md $(FIGS_PDF)
$(MD2LATEX) $(TARGET)
+
+clean::
+ $(RM) $(TARGET).html $(TARGET).pdf $(TARGET).tex $(FIGS_PDF)