aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-04-07 18:49:52 +0900
committernsfisis <nsfisis@gmail.com>2024-04-07 18:49:52 +0900
commit4a27cc7b5c57e92e8639a89f231461c708c6bc4f (patch)
tree90bc39ee8e7051f5bb9e5b527b0eb1c8910c3b0d /Makefile
parente1f6b7d80631c171c7f902c6beac778b9783f539 (diff)
downloadphpcon-odawara-2024-slides-4a27cc7b5c57e92e8639a89f231461c708c6bc4f.tar.gz
phpcon-odawara-2024-slides-4a27cc7b5c57e92e8639a89f231461c708c6bc4f.tar.zst
phpcon-odawara-2024-slides-4a27cc7b5c57e92e8639a89f231461c708c6bc4f.zip
init
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0a2d6b9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,35 @@
+.PHONY: all
+all: build
+
+# Build slide PDF.
+.PHONY: build
+build: slide.pdf
+
+slide.pdf: slide.saty
+ docker run \
+ --rm \
+ --name satysfi \
+ --mount type=bind,src=$$(pwd),dst=/work \
+ satysfi \
+ satysfi slide.saty
+
+# Enter Docker shell.
+.PHONY: shell
+shell:
+ docker run \
+ -it \
+ --rm \
+ --name satysfi \
+ --mount type=bind,src=$$(pwd),dst=/work \
+ satysfi \
+ sh
+
+# Build Docker container.
+.PHONY: docker
+docker:
+ docker build --tag satysfi .
+
+# Clean all artifacts.
+.PHONY: clean
+clean:
+ rm -f *.pdf *.satysfi-aux