source: rtems/doc/tools/texi2www/Makefile @ 0bbbf52

4.104.114.84.95
Last change on this file since 0bbbf52 was 0bbbf52, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 3, 1998 at 3:38:31 PM

Base file

  • Property mode set to 100644
File size: 866 bytes
Line 
1#
2#  COPYRIGHT (c) 1988-1998.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9PROJECT=texi2www
10DISTRIBUTION_LEVEL=internal
11
12include ../../Make.config
13
14all: html info ps
15
16dirs:
17        $(make-dirs)
18
19FILES= texi2wwwdoc.texi
20
21info: 
22
23dvi: $(PROJECT).dvi
24ps: dirs $(PROJECT).ps
25       
26$(PROJECT).ps: $(PROJECT).dvi
27        dvips -o $(PROJECT).ps $(PROJECT).dvi
28        cp $(PROJECT).ps $(PS_INSTALL)
29
30# run texi2dvi twice to generate the xref's properly.
31$(PROJECT).dvi: $(FILES)
32        $(TEXI2DVI) -v $(PROJECT).texi
33        texi2dvi -v $(PROJECT).texi
34
35html: dirs $(FILES)
36        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
37        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
38            $(PROJECT).texi
39
40clean:
41        rm -f *.o $(PROG) *.txt core
42        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
43        rm -f $(PROJECT)-* $(GENERATED_FILES)
44        rm -f *.fixed _*
45
Note: See TracBrowser for help on using the repository browser.