diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-02-04 01:20:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-02-22 07:11:04 +0900 |
| commit | 6f93cab592ddf3b8e7c544bae489ebef63a091cc (patch) | |
| tree | 9aa7dcf31d01c6dfda5bbd1c91e31f388649df0e /Makefile | |
| parent | d1f630f6ba442c9f01a58bf56a06312be6c50166 (diff) | |
| download | phpcon-nagoya-2025-slides-6f93cab592ddf3b8e7c544bae489ebef63a091cc.tar.gz phpcon-nagoya-2025-slides-6f93cab592ddf3b8e7c544bae489ebef63a091cc.tar.zst phpcon-nagoya-2025-slides-6f93cab592ddf3b8e7c544bae489ebef63a091cc.zip | |
add slides
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4345fa0 --- /dev/null +++ b/Makefile @@ -0,0 +1,40 @@ +# SATYSFI_BIN := satysfi +SATYSFI_BIN := ../fork/SATySFi/result/bin/satysfi + +.PHONY: all +all: build + +# Build slide PDF. +.PHONY: build +build: slides.pdf + +slides.pdf: slides.saty slydifi/my-theme.satyh + $(SATYSFI_BIN) slides.saty + +# Enter Docker shell. +.PHONY: shell +shell: + docker run \ + -it \ + --rm \ + --name satysfi \ + satysfi \ + sh + +# Build Docker container. +.PHONY: docker +docker: + docker build --tag satysfi . + +# Install dependencies. +.PHONY: deps +deps: + rm -rf .satysfi + docker create --name satysfi-tmp satysfi + docker cp -L satysfi-tmp:/root/.satysfi .satysfi + docker rm satysfi-tmp + +# Clean all artifacts. +.PHONY: clean +clean: + rm -f *.pdf *.satysfi-aux |
