Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

50 lines (35 sloc) 1.096 kb
include ../include.mk
include ../vsn.mk
IMG_EPS = $(wildcard *.eps)
IMG_PDF = $(IMG_EPS:.eps=.pdf)
all debug:
echo "To build the docs, please use make docs before doing make install"
docs: check yaws.ps yaws.pdf
check:
@if [ -z "$(DVIPS)" ]; then \
echo "Need dvips"; exit 1; \
fi
@if [ -z "$(PDFLATEX)" ]; then \
echo "Need pdflatex"; exit 1; \
fi
@if [ -z "`which latex2html`" ]; then \
echo "Need latex2html"; exit 1; \
fi
yaws.ps: yaws.dvi
$(COND_DVILATEX)$(DVIPS) -o yaws.ps yaws.dvi
$(COND_DVILATEX)cp yaws.ps ../www
yaws.pdf: yaws.tex $(IMG_PDF)
$(COND_PDFLATEX)$(PDFLATEX) yaws.tex
$(COND_PDFLATEX)$(PDFLATEX) yaws.tex
$(COND_PDFLATEX)cp yaws.pdf ../www
yaws.dvi: yaws.tex $(IMG_EPS)
$(COND_DVILATEX)$(DVILATEX) yaws.tex
$(COND_DVILATEX)$(DVILATEX) yaws.tex
%.pdf: %.eps
$(COND_PDFLATEX)$(EPSTOPDF) $<
clean:
rm -f *.ps *.dvi *.log *.aux *.pdf *.toc *.beam 2> /dev/null || true
rm -f *.out ../www/yaws.ps ../www/yaws.pdf 2> /dev/null || true
install:
-install -d $(DESTDIR)$(PREFIX)/share/doc/yaws
-cp yaws.pdf $(DESTDIR)$(PREFIX)/share/doc/yaws
Jump to Line
Something went wrong with that request. Please try again.