wwu-577/Makefile

36 lines
1.3 KiB
Makefile
Raw Permalink Normal View History

2023-12-15 09:34:18 -08:00
PREFIX=jensen_577
.PHONY: wwu cedar paper
PAPER=acm_template
2023-05-17 13:38:07 -07:00
2023-12-15 09:34:18 -08:00
all: wwu
2023-05-17 13:38:07 -07:00
2023-12-15 09:34:18 -08:00
paper: dist/$(PREFIX)_paper.pdf
dist/$(PREFIX)_paper.pdf: docs/$(PAPER).pdf
mv $^ $@
docs/$(PAPER).pdf: docs/Makefile docs/$(PAPER).tex
make -C docs $(PAPER).pdf
hw: dist/$(PREFIX)_hw1.pdf
wwu:
2023-05-17 13:38:07 -07:00
rsync -avz ~/577/repo/docs/figures/ linux-04:/home/jensen33/Dev/studentweb/assets/static/577/
scp ~/577/repo/docs/presentation.md linux-04:/home/jensen33/Dev/studentweb/content/577/contents.lr
scp ~/Dev/www.publicmatt.com/models/slides.ini linux-04:/home/jensen33/Dev/studentweb/models/
scp ~/Dev/www.publicmatt.com/templates/slides.html linux-04:/home/jensen33/Dev/studentweb/templates/
rsync -avz ~/Dev/www.publicmatt.com/assets/static/revealjs linux-04:/home/jensen33/Dev/studentweb/assets/static/
ssh linux-04 cd /home/jensen33/Dev/studentweb \; make
2023-12-15 09:34:18 -08:00
cedar:
scp ~/577/repo/docs/presentation.md cedar:/home/user/www.publicmatt.com/content/577/contents.lr
scp ~/Dev/www.publicmatt.com/templates/slides.html cedar:/home/user/www.publicmatt.com/templates/
rsync -avz ~/Dev/www.publicmatt.com/assets/static/revealjs cedar:/home/user/www.publicmatt.com/assets/static/
ssh cedar cd www.publicmatt.com \; make
dist/$(PREFIX)_hw1.pdf: docs/hw1.md
pandoc $^ -o $@
clean:
rm dist/$(PREFIX)_paper.pdf