aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-06-17 13:08:28 +0900
committernsfisis <nsfisis@gmail.com>2023-06-17 13:08:28 +0900
commit03ba0db0fa15df1b4d3f0c9b991462573ffd119c (patch)
tree7d967e32c7dd60143a2f45f96a88079f8580923f /Makefile
parent64222787e150c843850c13cd9bf288abef974426 (diff)
downloadphpstudy-N-slides-template-03ba0db0fa15df1b4d3f0c9b991462573ffd119c.tar.gz
phpstudy-N-slides-template-03ba0db0fa15df1b4d3f0c9b991462573ffd119c.tar.zst
phpstudy-N-slides-template-03ba0db0fa15df1b4d3f0c9b991462573ffd119c.zip
add template files
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