wwu-577/Makefile

36 lines
1.3 KiB
Makefile

PREFIX=jensen_577
.PHONY: wwu cedar paper
PAPER=acm_template
all: wwu
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:
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
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