diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-08 06:10:57 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-08 06:10:57 +0900 |
| commit | c61cd3d9cb0cacce1efb684c71cf58b3fec30961 (patch) | |
| tree | 8265435970cf34857453867b098904a62119fad9 /Makefile | |
| parent | d38a6cef4c9e348797516fccb96bb4aae56eec0c (diff) | |
| download | phperkaigi-2024-slides-c61cd3d9cb0cacce1efb684c71cf58b3fec30961.tar.gz phperkaigi-2024-slides-c61cd3d9cb0cacce1efb684c71cf58b3fec30961.tar.zst phperkaigi-2024-slides-c61cd3d9cb0cacce1efb684c71cf58b3fec30961.zip | |
add slide.pdf
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 35 |
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 |
