/[defdoc]/DefDoc/website/Makefile
ViewVC logotype

Contents of /DefDoc/website/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations)
Sun Mar 28 17:46:07 2004 UTC (10 years ago) by rjain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
add html version of overview doc
1 INSTALL="/usr/bin/install"
2
3 WEBDIR="public_html"
4
5 upload: install
6 scp -r public_html/ common-lisp.net:/project/defdoc/
7
8 $(WEBDIR):
9 -mkdir $@
10
11 install: $(WEBDIR) install-html install-docs
12
13 install-docs: install-overview
14
15 install-overview: overview.pdf overview.ps overview.html ../doc/overview.tex
16 $(INSTALL) -m 644 $^ $(WEBDIR)
17
18 overview.html overview.pdf overview.ps: ../doc/overview.tex overview.bbl
19
20 overview.bbl: overview.bib
21 bibtex overview
22
23 overview.bib: ../doc/overview.bib
24 ln -s $< $@
25
26 install-html:
27 lisp -batch -load website.lisp -eval "(in-package :defdoc.frontends.basic-user) (convert-doc 'defdoc.website::index 'single-page-html-output 'output-filename \""$(WEBDIR)"/index.html\" 'print-pretty t) (ext:quit)"
28
29
30 #
31 # LaTeX files
32 #
33
34 %.dvi: ../doc/%.tex
35 latex $<
36
37 %.ps: %.dvi
38 dvips -o $@ $<
39
40 %.pdf: ../doc/%.tex
41 pdflatex $<
42
43 %.html: ../doc/%.tex
44 hevea $<
45
46 %.txt: %.html
47 html2text -style pretty -nobs $< | tail +4 > $@

  ViewVC Help
Powered by ViewVC 1.1.5