1
0
mirror of https://github.com/ipfs/ipfs synced 2024-09-20 04:01:46 +02:00
ipfs/papers/ipfs-cap2pfs/Makefile
Juan Batiz-Benet b5aa02be39 make fix
2014-07-14 01:26:21 -07:00

26 lines
570 B
Makefile

SHORT=ipfs-cap2pfs
LONG=ipfs-p2p-file-system
all: $(LONG).pdf
$(LONG).pdf: $(SHORT).tex sig-alternate.cls $(SHORT).bib
pdflatex $(SHORT).tex
bibtex $(SHORT)
pdflatex $(SHORT).tex
pdflatex $(SHORT).tex
mv $(SHORT).pdf $(LONG).pdf
clean:
rm *.bbl *.aux *.dvi *.blg *.log *.gnuplot *.table
watch:
-make
@echo "[watching *.tex for recompilation]"
# for portability, use watchmedo -- pip install watchmedo
@watchmedo shell-command --patterns="*.tex;" --recursive \
--command='make' .
publish: $(LONG).pdf
scp $(LONG).pdf benet.ai:/var/static/t/$(LONG).pdf