Makefile 441 B

12345678910111213141516171819
  1. SHORT=ipfs-ttpw
  2. LONG=ipfs-toward-the-permanent-web
  3. all: $(LONG).pdf
  4. $(LONG).pdf: $(SHORT).tex sig-alternate.cls
  5. pdflatex --shell-escape $(SHORT).tex
  6. mv $(SHORT).pdf $(LONG).pdf
  7. clean:
  8. rm *.bbl *.aux *.dvi *.blg *.log *.gnuplot *.table
  9. watch:
  10. -make
  11. @echo "[watching *.tex for recompilation]"
  12. # for portability, use watchmedo -- pip install watchmedo
  13. @watchmedo shell-command --patterns="*.tex;" --recursive \
  14. --command='make' .