summaryrefslogtreecommitdiffstats
path: root/doc/new_chapters/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/new_chapters/Makefile')
-rw-r--r--doc/new_chapters/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/doc/new_chapters/Makefile b/doc/new_chapters/Makefile
index bd01e6926f..db38619f98 100644
--- a/doc/new_chapters/Makefile
+++ b/doc/new_chapters/Makefile
@@ -6,7 +6,7 @@
# $Id$
#
-PROJECT=posix_users
+PROJECT=posix_users_new
DISTRIBUTION_LEVEL=public
include ../Make.config
@@ -18,11 +18,11 @@ dirs:
COMMON_FILES=../common/cpright.texi
-GENERATED_FILES= process.texi procenv.texi clock.texi \
+GENERATED_FILES= process.texi procenv.texi files.texi clock.texi \
cond.texi key.texi mutex.texi \
sched.texi signal.texi thread.texi
-FILES= $(PROJECT).texi preface.texi \
+FILES= posix_users.texi preface.texi \
$(COMMON_FILES) $(GENERATED_FILES)
INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
@@ -31,8 +31,8 @@ info: dirs $(FILES) $(PROJECT)
# cp $(PROJECT) $(PROJECT)-* $(INFO_INSTALL)
cp $(PROJECT) $(INFO_INSTALL)
-posix_users: $(FILES)
- $(MAKEINFO) $(PROJECT).texi
+$(PROJECT): $(FILES)
+ $(MAKEINFO) posix_users.texi
dvi: $(PROJECT).dvi
ps: dirs $(PROJECT).ps
@@ -42,13 +42,14 @@ $(PROJECT).ps: $(PROJECT).dvi
cp $(PROJECT).ps $(PS_INSTALL)
$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) $(PROJECT).texi
+ $(TEXI2DVI) posix_users.texi
+ mv posix_users.dvi $(PROJECT).dvi
html: dirs $(FILES)
-mkdir -p $(WWW_INSTALL)/$(PROJECT)
-cd .. ; gmake headers
$(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
+ posix_users.texi
clean:
@@ -66,6 +67,11 @@ procenv.texi: procenv.t Makefile
-u "Top" \
-n "" ${*}.t
+files.texi: files.t Makefile
+ $(BMENU) -p "" \
+ -u "Top" \
+ -n "" ${*}.t
+
thread.texi: thread.t Makefile
$(BMENU) -p "" \
-u "Top" \