From eff6983de76ac2e5e28e60711c2fd214c313dd60 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 30 Mar 1998 14:58:53 +0000 Subject: Making the stanza right and improving the way the isntall directories are built --- doc/new_chapters/Makefile | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'doc/new_chapters') 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) \ -- cgit v1.2.3