summaryrefslogtreecommitdiffstats
path: root/doc/started/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/started/Makefile102
-rw-r--r--doc/started/Makefile.am67
2 files changed, 67 insertions, 102 deletions
diff --git a/doc/started/Makefile b/doc/started/Makefile
deleted file mode 100644
index fbe2f39ee3..0000000000
--- a/doc/started/Makefile
+++ /dev/null
@@ -1,102 +0,0 @@
-#
-# COPYRIGHT (c) 1988-1999.
-# On-Line Applications Research Corporation (OAR).
-# All rights reserved.
-#
-# $Id$
-#
-
-PROJECT=started
-
-include ../Make.config
-
-all: html info ps pdf
-
-dirs:
- $(make-dirs)
-
-COMMON_FILES=../common/cpright.texi ../common/setup.texi
-
-GENERATED_FILES= binaries.texi buildc.texi buildrt.texi gdb.texi intro.texi \
- nt.texi require.texi sample.texi
-
-FILES= $(PROJECT).texi versions.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: dirs $(PROJECT).dvi
-ps: dirs $(PROJECT).ps
-pdf: dirs $(PROJECT).pdf
-
-$(PROJECT).pdf: $(FILES)
- #$(TEXI2PDF) $(PROJECT).texi
- #cp $(PROJECT).pdf $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).ps: $(PROJECT).dvi
- dvips -o $(PROJECT).ps $(PROJECT).dvi
- cp $(PROJECT).ps $(WWW_INSTALL)/$(PROJECT)
-
-$(PROJECT).dvi: $(FILES)
- $(TEXI2DVI) $(PROJECT).texi
- cp $(PROJECT).dvi $(WWW_INSTALL)/$(PROJECT)
-
-intro.texi: intro.t versions.texi
- $(BMENU) -c -p "Top" \
- -u "Top" \
- -n "Requirements" ${*}.t
-
-require.texi: require.t versions.texi
- $(BMENU) -c -p "EGCS Mailing List" \
- -u "Top" \
- -n "Prebuilt Toolset Executables" ${*}.t
-
-binaries.texi: binaries.t versions.texi
- $(BMENU) -c -p "GNU makeinfo Version Requirements" \
- -u "Top" \
- -n "Building the GNU C/C++ Cross Compiler Toolset" ${*}.t
-
-buildc.texi: buildc.t versions.texi
- $(BMENU) -c -p "Removing RPMs" \
- -u "Top" \
- -n "Building RTEMS" ${*}.t
-
-buildrt.texi: buildrt.t versions.texi
- $(BMENU) -c -p "Error Messages Indicating Configuration Problems" \
- -u "Top" \
- -n "Building the Sample Application" ${*}.t
-
-sample.texi: sample.t versions.texi
- $(BMENU) -c -p "Using the RTEMS configure Script Directly" \
- -u "Top" \
- -n "Building the GNU Debugger" ${*}.t
-
-gdb.texi: gdb.t versions.texi
- $(BMENU) -c -p "Application Executable" \
- -u "Top" \
- -n "Using MS-Windows as a Development Host" ${*}.t
-
-nt.texi: nt.t versions.texi
- $(BMENU) -c -p "GDB for DINK32" \
- -u "Top" \
- -n "" ${*}.t
-
-html: dirs $(FILES)
- -mkdir -p $(WWW_INSTALL)/$(PROJECT)
- -cp pictures/sfile12c.jpg $(WWW_INSTALL)/$(PROJECT)
- -cp pictures/bit_c.jpg $(WWW_INSTALL)/$(PROJECT)
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -dir $(WWW_INSTALL)/$(PROJECT) \
- $(PROJECT).texi
-
-clean:
- rm -f *.o $(PROG) *.txt core $(PROJECT).pdf
- rm -f *.dvi *.ps *.log *.aux *.cp *.fn *.ky *.pg *.toc *.tp *.vr $(BASE)
- rm -f $(PROJECT) $(PROJECT)-* $(GENERATED_FILES)
- rm -f *.fixed _*
-
diff --git a/doc/started/Makefile.am b/doc/started/Makefile.am
new file mode 100644
index 0000000000..3fa305343d
--- /dev/null
+++ b/doc/started/Makefile.am
@@ -0,0 +1,67 @@
+#
+# COPYRIGHT (c) 1988-1999.
+# On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# $Id$
+#
+
+AUTOMAKE_OPTIONS = foreign
+
+PROJECT=started
+
+SUBDIRS = pictures
+
+include $(top_srcdir)/project.am
+
+COMMON_FILES=$(top_srcdir)/common/cpright.texi $(top_builddir)/common/setup.texi
+
+GENERATED_FILES= binaries.texi buildc.texi buildrt.texi gdb.texi intro.texi \
+ nt.texi require.texi sample.texi
+
+FILES= tversions.texi
+
+info_TEXINFOS = started.texi
+started_TEXINFOS = $(FILES) $(COMMON_FILES) $(GENERATED_FILES)
+
+intro.texi: intro.t tversions.texi
+ $(BMENU) -c -p "Top" \
+ -u "Top" \
+ -n "Requirements" $<
+
+require.texi: require.t tversions.texi
+ $(BMENU) -c -p "EGCS Mailing List" \
+ -u "Top" \
+ -n "Prebuilt Toolset Executables" $<
+
+binaries.texi: binaries.t tversions.texi
+ $(BMENU) -c -p "GNU makeinfo Version Requirements" \
+ -u "Top" \
+ -n "Building the GNU C/C++ Cross Compiler Toolset" $<
+
+buildc.texi: buildc.t tversions.texi
+ $(BMENU) -c -p "Removing RPMs" \
+ -u "Top" \
+ -n "Building RTEMS" $<
+
+buildrt.texi: buildrt.t tversions.texi
+ $(BMENU) -c -p "Error Messages Indicating Configuration Problems" \
+ -u "Top" \
+ -n "Building the Sample Application" $<
+
+sample.texi: sample.t tversions.texi
+ $(BMENU) -c -p "Using the RTEMS configure Script Directly" \
+ -u "Top" \
+ -n "Building the GNU Debugger" $<
+
+gdb.texi: gdb.t tversions.texi
+ $(BMENU) -c -p "Application Executable" \
+ -u "Top" \
+ -n "Using MS-Windows as a Development Host" $<
+
+nt.texi: nt.t tversions.texi
+ $(BMENU) -c -p "GDB for DINK32" \
+ -u "Top" \
+ -n "" $<
+
+EXTRA_DIST = *.t