14 lines
400 B
Makefile
14 lines
400 B
Makefile
filename=$(shell basename $(shell pwd))
|
|
timestamp=$(shell date +%Y-%m-%d_%H:%M)
|
|
|
|
all: wireshark-lab
|
|
|
|
wireshark-lab: wireshark-lab_20211005.tex
|
|
@latexmk -pdf wireshark-lab_20211005.tex
|
|
@if ! cmp --silent build/wireshark-lab_20211005.pdf wireshark-lab_20211005.pdf; then \
|
|
cp build/wireshark-lab_20211005.pdf wireshark-lab_20211005.pdf; \
|
|
echo "Updated"; \
|
|
fi
|
|
|
|
clean:
|
|
@rm -rf build 2>/dev/null
|