Last change
on this file since 777 was 634, checked in by mar637, 20 years ago |
makefile to build docs
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
520 bytes
|
Rev | Line | |
---|
[634] | 1 | TARGET := ./cookbook
|
---|
| 2 | WEBLOC := /tmp
|
---|
| 3 |
|
---|
| 4 | LATEXHTML := /usr/bin/latex2html
|
---|
| 5 | LATEXHTMLOPTS := -local_icons
|
---|
| 6 | DVIPDF := /usr/bin/dvipdf
|
---|
| 7 | LATEX := /usr/bin/latex
|
---|
| 8 |
|
---|
| 9 | all: pdf html
|
---|
| 10 |
|
---|
| 11 | $(TARGET): pdf html
|
---|
| 12 |
|
---|
| 13 | latex:
|
---|
| 14 | $(LATEX) $(TARGET).tex
|
---|
| 15 |
|
---|
| 16 | pdf: latex
|
---|
| 17 | $(DVIPDF) $(TARGET).dvi
|
---|
| 18 |
|
---|
| 19 | html:
|
---|
| 20 | $(LATEXHTML) $(LATEXHTMLOPTS) $(TARGET).tex
|
---|
| 21 |
|
---|
| 22 | clean:
|
---|
| 23 | @rm -f $(TARGET).log $(TARGET).aux $(TARGET).dvi
|
---|
| 24 |
|
---|
| 25 | realclean: clean
|
---|
| 26 | @rm -f $(TARGET).pdf $(TARGET)
|
---|
| 27 |
|
---|
| 28 | install:
|
---|
| 29 | -cp -rf $(TARGET) $(WEBLOC)
|
---|
| 30 | -cp -f $(TARGET).pdf $(WEBLOC)
|
---|
| 31 |
|
---|
| 32 | .PHONY: install clean realclean
|
---|
Note:
See
TracBrowser
for help on using the repository browser.