efrei/network-protocols/Makefile

15 lines
400 B
Makefile
Raw Normal View History

2021-10-05 09:14:50 +02:00
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