source: rtems/doc/posix_users/Makefile @ eff6983d

4.104.114.84.95
Last change on this file since eff6983d was eff6983d, checked in by Joel Sherrill <joel.sherrill@…>, on 03/30/98 at 14:58:53

Making the stanza right and improving the way the isntall directories are built

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#
2#  COPYRIGHT (c) 1988-1998.
3#  On-Line Applications Research Corporation (OAR).
4#  All rights reserved.
5#
6#  $Id$
7#
8
9PROJECT=posix_users
10DISTRIBUTION_LEVEL=public
11
12include ../Make.config
13
14all: html info ps
15
16dirs:
17        $(make-dirs)
18
19COMMON_FILES=../common/cpright.texi
20
21FILES= clock.texi cond.texi key.texi mutex.texi $(PROJECT).texi preface.texi \
22  sched.texi signal.texi thread.texi $(COMMON_FILES)
23
24INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
25
26info: dirs $(PROJECT)
27#       cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
28        cp $(PROJECT) $(INFO_INSTALL)
29
30posix_users: $(FILES)
31        $(MAKEINFO) $(PROJECT).texi
32
33dvi: $(PROJECT).dvi
34ps: dirs $(PROJECT).ps
35       
36$(PROJECT).ps: $(PROJECT).dvi
37        dvips -o $(PROJECT).ps $(PROJECT).dvi
38        cp $(PROJECT).ps $(PS_INSTALL)
39
40$(PROJECT).dvi: $(FILES)
41        $(TEXI2DVI) $(PROJECT).texi
42
43html: dirs
44        -mkdir -p $(WWW_INSTALL)/$(PROJECT)
45        -cd .. ; gmake headers
46        $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
47            $(PROJECT).texi
48
49
50clean:
51        rm -f *.o $(PROG) *.txt core *.html
52        rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
53        rm -f $(PROJECT) $(PROJECT)-* _*
54
Note: See TracBrowser for help on using the repository browser.