aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-09 13:37:27 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-09 13:37:27 +0200
commit94bcc5b83fa451ac851aea19a8956f3531a44d67 (patch)
treefc1e6630f48f073082cc4ee37f5028c492a22730
parent4c00ac22729c3f354df423373da8da6fa22617ba (diff)
huiswerk naar submap verplaatst
-rw-r--r--.gitignore1
-rw-r--r--huiswerk/huiswerk.md (renamed from huiswerk.md)0
-rw-r--r--huiswerk/makefile6
-rw-r--r--pdf.mk4
4 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 54e250c..81ac420 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
**/*.md
+!huiswerk/huiswerk.md
**/.tmp.sql
opdracht-*/opdracht.pdf
eindopdracht/nfs.xlsx
diff --git a/huiswerk.md b/huiswerk/huiswerk.md
index 9fd9da1..9fd9da1 100644
--- a/huiswerk.md
+++ b/huiswerk/huiswerk.md
diff --git a/huiswerk/makefile b/huiswerk/makefile
new file mode 100644
index 0000000..fe7229d
--- /dev/null
+++ b/huiswerk/makefile
@@ -0,0 +1,6 @@
+TARGET = huiswerk
+MD2LATEX = ../md2latex
+
+all: $(TARGET).pdf
+
+include ../pdf.mk
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)