Compare commits

..

2 Commits

Author SHA1 Message Date
5a3c14aeb3 Move 'all' target to top of Makefile 2023-12-24 02:02:19 +01:00
28fd7971f9 Add make to all dockerfiles 2023-12-24 02:01:27 +01:00
4 changed files with 5 additions and 8 deletions

View File

@ -1,11 +1,11 @@
SRCS=$(shell find examples -type f -name "*.tex") SRCS=$(shell find examples -type f -name "*.tex")
PDFS=$(shell echo $(SRCS:.tex=.pdf) | sed -e "s/examples\\///g") PDFS=$(shell echo $(SRCS:.tex=.pdf) | sed -e "s/examples\\///g")
all: $(PDFS)
%.pdf: examples/%.tex %.pdf: examples/%.tex
latexmk $< latexmk $<
all: $(PDFS)
clean: clean:
rm -rf build rm -rf build

View File

@ -1,5 +1,4 @@
FROM alpine:3.19 FROM alpine:3.19
RUN apk update && apk upgrade RUN apk update && apk upgrade
RUN apk add texlive RUN apk add make texlive texmf-dist-pictures
RUN apk add texmf-dist-pictures

View File

@ -3,7 +3,6 @@ FROM archlinux:latest
RUN pacman-key --init RUN pacman-key --init
RUN pacman-key --populate archlinux RUN pacman-key --populate archlinux
RUN pacman -Sy archlinux-keyring --noconfirm && pacman -Su --noconfirm RUN pacman -Sy archlinux-keyring --noconfirm && pacman -Su --noconfirm
# RUN pacman-key --refresh-keys
RUN pacman -Syu --noconfirm RUN pacman -Syu --noconfirm
RUN pacman -S perl texlive texlive-binextra texlive-pictures --noconfirm RUN pacman -S make perl texlive texlive-binextra texlive-pictures --noconfirm

View File

@ -3,5 +3,4 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
RUN apt update -y && apt upgrade -y RUN apt update -y && apt upgrade -y
RUN apt install neovim git -y RUN apt install make texlive latexmk texlive-pictures -y
RUN apt install texlive latexmk texlive-pictures -y