source: trunk/doc/Makefile@ 768

Last change on this file since 768 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
Line 
1TARGET := ./cookbook
2WEBLOC := /tmp
3
4LATEXHTML := /usr/bin/latex2html
5LATEXHTMLOPTS := -local_icons
6DVIPDF := /usr/bin/dvipdf
7LATEX := /usr/bin/latex
8
9all: pdf html
10
11$(TARGET): pdf html
12
13latex:
14 $(LATEX) $(TARGET).tex
15
16pdf: latex
17 $(DVIPDF) $(TARGET).dvi
18
19html:
20 $(LATEXHTML) $(LATEXHTMLOPTS) $(TARGET).tex
21
22clean:
23 @rm -f $(TARGET).log $(TARGET).aux $(TARGET).dvi
24
25realclean: clean
26 @rm -f $(TARGET).pdf $(TARGET)
27
28install:
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.