Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (35 sloc) 1.096 kb
3d067ea @klacke nicer latex docs in patch from nniclausse on sourceforge
authored
1
deddbfc Build chain modifications: Install target directories is now totally …
Mikael Karlsson authored
2 include ../include.mk
dd663e7 @klacke ""
authored
3 include ../vsn.mk
821ad7a @klacke added doc directory
authored
4
3d067ea @klacke nicer latex docs in patch from nniclausse on sourceforge
authored
5 IMG_EPS = $(wildcard *.eps)
6 IMG_PDF = $(IMG_EPS:.eps=.pdf)
821ad7a @klacke added doc directory
authored
7
7811247 @vinoski whitespace cleanup
vinoski authored
8 all debug:
deddbfc Build chain modifications: Install target directories is now totally …
Mikael Karlsson authored
9 echo "To build the docs, please use make docs before doing make install"
821ad7a @klacke added doc directory
authored
10
0e07576 @klacke check for toolchain
authored
11 docs: check yaws.ps yaws.pdf
12
13 check:
14 @if [ -z "$(DVIPS)" ]; then \
15 echo "Need dvips"; exit 1; \
16 fi
17 @if [ -z "$(PDFLATEX)" ]; then \
18 echo "Need pdflatex"; exit 1; \
19 fi
5ec7807 @klacke check for toolchain
authored
20 @if [ -z "`which latex2html`" ]; then \
21 echo "Need latex2html"; exit 1; \
22 fi
0e07576 @klacke check for toolchain
authored
23
24
3d067ea @klacke nicer latex docs in patch from nniclausse on sourceforge
authored
25
821ad7a @klacke added doc directory
authored
26 yaws.ps: yaws.dvi
6c7d7a4 @klacke configure/latex support and also slightly nicer listdir output by Han…
authored
27 $(COND_DVILATEX)$(DVIPS) -o yaws.ps yaws.dvi
28 $(COND_DVILATEX)cp yaws.ps ../www
821ad7a @klacke added doc directory
authored
29
3d067ea @klacke nicer latex docs in patch from nniclausse on sourceforge
authored
30 yaws.pdf: yaws.tex $(IMG_PDF)
6c7d7a4 @klacke configure/latex support and also slightly nicer listdir output by Han…
authored
31 $(COND_PDFLATEX)$(PDFLATEX) yaws.tex
32 $(COND_PDFLATEX)$(PDFLATEX) yaws.tex
33 $(COND_PDFLATEX)cp yaws.pdf ../www
821ad7a @klacke added doc directory
authored
34
3d067ea @klacke nicer latex docs in patch from nniclausse on sourceforge
authored
35 yaws.dvi: yaws.tex $(IMG_EPS)
6c7d7a4 @klacke configure/latex support and also slightly nicer listdir output by Han…
authored
36 $(COND_DVILATEX)$(DVILATEX) yaws.tex
37 $(COND_DVILATEX)$(DVILATEX) yaws.tex
821ad7a @klacke added doc directory
authored
38
3d067ea @klacke nicer latex docs in patch from nniclausse on sourceforge
authored
39 %.pdf: %.eps
6c7d7a4 @klacke configure/latex support and also slightly nicer listdir output by Han…
authored
40 $(COND_PDFLATEX)$(EPSTOPDF) $<
3d067ea @klacke nicer latex docs in patch from nniclausse on sourceforge
authored
41
821ad7a @klacke added doc directory
authored
42 clean:
443b55e @klacke Build and make fixes
authored
43 rm -f *.ps *.dvi *.log *.aux *.pdf *.toc *.beam 2> /dev/null || true
a40036a @sgolovan fixes for make clean in applications and doc dirs
sgolovan authored
44 rm -f *.out ../www/yaws.ps ../www/yaws.pdf 2> /dev/null || true
821ad7a @klacke added doc directory
authored
45
46 install:
3aac349 @klacke openbsd port
authored
47 -install -d $(DESTDIR)$(PREFIX)/share/doc/yaws
48 -cp yaws.pdf $(DESTDIR)$(PREFIX)/share/doc/yaws
7811247 @vinoski whitespace cleanup
vinoski authored
49
Something went wrong with that request. Please try again.