From c3cd50085e400541e595a7852f84df680bb1dd14 Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
Date: Thu, 11 Jan 2024 16:36:50 +0100
Subject: Initial commit

---
 Fosdem2023/Makefile | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Fosdem2023/Makefile

(limited to 'Fosdem2023/Makefile')

diff --git a/Fosdem2023/Makefile b/Fosdem2023/Makefile
new file mode 100644
index 0000000..1f2daf1
--- /dev/null
+++ b/Fosdem2023/Makefile
@@ -0,0 +1,25 @@
+TARGET	= presentation.pdf
+
+TEMPLATE	= template.tex
+CONTENT		= contents.md
+
+# IMG_DIR			= img
+# IMG_SRCS		= $(wildcard $(IMG_DIR)/*.svg)
+# IMG_BASENAME	= $(notdir $(basename $(IMG_SRCS)))
+# TMP_IMG_DIR		= tmp
+# IMGS			= $(addsuffix .png, $(addprefix $(TMP_IMG_DIR)/, $(IMG_BASENAME)))
+
+all: $(TARGET)
+
+$(TARGET): $(CONTENT) $(TEMPLATE) # $(IMGS)
+	pandoc -f markdown+smart -t beamer $(CONTENT) -o $(TARGET) --pdf-engine=xelatex --template=$(TEMPLATE)
+
+# $(IMGS): $(TMP_IMG_DIR)/%.png: $(IMG_DIR)/%.svg
+# 	mkdir -p $(TMP_IMG_DIR)
+# 	inkscape $< --export-filename $@ --export-type=png --export-background-opacity=0.0
+
+clean:
+	rm -r $(TARGET) # $(TMP_IMG_DIR)
+
+.PHONY: all clean $(CONTENT) $(TEMPLATE)
+
-- 
cgit v1.2.3