summaryrefslogtreecommitdiffstats
path: root/doc/FAQ/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 21:54:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-19 21:54:16 +0000
commita7a33e7aa75e633b36cc0c12e43809e34705132c (patch)
treea63b752d0166e82cf03938621b37316244f21bee /doc/FAQ/Makefile
parentRegenerated. (diff)
downloadrtems-a7a33e7aa75e633b36cc0c12e43809e34705132c.tar.bz2
New file.
Diffstat (limited to '')
-rw-r--r--doc/FAQ/Makefile71
1 files changed, 71 insertions, 0 deletions
diff --git a/doc/FAQ/Makefile b/doc/FAQ/Makefile
new file mode 100644
index 0000000000..09f81393fe
--- /dev/null
+++ b/doc/FAQ/Makefile
@@ -0,0 +1,71 @@
+#
+# COPYRIGHT (c) 1988-1998.
+# On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# $Id$
+#
+
+PROJECT=FAQ
+DISTRIBUTION_LEVEL=public
+
+include ../Make.config
+
+all: html info ps
+
+dirs:
+ $(make-dirs)
+
+COMMON_FILES=../common/cpright.texi ../common/setup.texi
+
+GENERATED_FILES= \
+ intro.texi
+
+FILES=$(PROJECT).texi $(GENERATED_FILES)
+
+INFOFILES=$(wildcard $(PROJECT) $(PROJECT)-*)
+
+info: dirs $(PROJECT)
+ #cp $(wildcard $(PROJECT) $(PROJECT)-*) $(INFO_INSTALL)
+ # cp $(PROJECT) $(INFO_INSTALL)
+
+$(PROJECT): $(FILES)
+ $(MAKEINFO) $(PROJECT).texi
+
+dvi: $(PROJECT).dvi
+ps: dirs $(PROJECT).ps
+
+$(PROJECT).ps: $(PROJECT).dvi
+ dvips -o $(PROJECT).ps $(PROJECT).dvi
+ cp $(PROJECT).ps $(PS_INSTALL)
+
+# run texi2dvi twice to generate the xref's properly.
+$(PROJECT).dvi: $(FILES)
+ $(TEXI2DVI) $(PROJECT).texi
+ texi2dvi $(PROJECT).texi
+
+html: dirs $(FILES)
+ -mkdir -p $(WWW_INSTALL)/$(PROJECT)
+ $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
+ $(PROJECT).texi
+
+clean:
+ rm -f *.o $(PROG) *.txt core
+ rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
+ rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
+ rm -f *.fixed _*
+
+
+#
+# Process Automatically Generated Files
+#
+
+intro.texi: intro.t Makefile
+ $(BMENU) -p "Top" \
+ -u "Top" \
+ -n "Target Dependent Files" ${*}.t
+
+#target.texi: target.t Makefile
+# $(BMENU) -p "Introduction" \
+# -u "Top" \
+# -n "Makefiles" ${*}.t