summaryrefslogtreecommitdiffstats
path: root/doc/new_chapters/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-30 14:58:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-03-30 14:58:53 +0000
commiteff6983de76ac2e5e28e60711c2fd214c313dd60 (patch)
treefdf86e474303d351a97c8579ce89b39268d45650 /doc/new_chapters/Makefile
parentca0b18a1bef4b75b225c00fdcb9a8fd1dd7ec0c4 (diff)
downloadrtems-eff6983de76ac2e5e28e60711c2fd214c313dd60.tar.bz2
Making the stanza right and improving the way the isntall directories are built
Diffstat (limited to 'doc/new_chapters/Makefile')
-rw-r--r--doc/new_chapters/Makefile23
1 files changed, 8 insertions, 15 deletions
diff --git a/doc/new_chapters/Makefile b/doc/new_chapters/Makefile
index b5a5d237a1..de2fdfde4e 100644
--- a/doc/new_chapters/Makefile
+++ b/doc/new_chapters/Makefile
@@ -11,43 +11,36 @@ DISTRIBUTION_LEVEL=public
include ../Make.config
-all:
+all: html info ps
+
+dirs:
+ $(make-dirs)
COMMON_FILES=../common/cpright.texi
+
FILES= clock.texi cond.texi key.texi mutex.texi $(PROJECT).texi preface.texi \
sched.texi signal.texi thread.texi $(COMMON_FILES)
-all:
-
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
-info: $(PROJECT)
+info: dirs $(PROJECT)
# cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
posix_users: $(FILES)
$(MAKEINFO) $(PROJECT).texi
-vinfo: info
- $(INFO) -f ./$(PROJECT)
-
dvi: $(PROJECT).dvi
-ps: $(PROJECT).ps
+ps: dirs $(PROJECT).ps
$(PROJECT).ps: $(PROJECT).dvi
dvips -o $(PROJECT).ps $(PROJECT).dvi
cp $(PROJECT).ps $(PS_INSTALL)
-dv: dvi
- $(XDVI) $(PROJECT).dvi
-
-view: ps
- $(GHOSTVIEW) $(PROJECT).ps
-
$(PROJECT).dvi: $(FILES)
$(TEXI2DVI) $(PROJECT).texi
-html:
+html: dirs
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
-cd .. ; gmake headers
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \