summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/ChangeLog9
-rw-r--r--doc/Makefile.am3
-rw-r--r--doc/configure.ac63
-rw-r--r--doc/index.html.in11
-rw-r--r--doc/project.am7
-rw-r--r--doc/rtems_support.html.in2
6 files changed, 77 insertions, 18 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index ac747a31fe..d7d56859b4 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,12 @@
+2003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * Makefile.am: Merger from rtems-4-6-branch.
+ * configure.ac: Merger from rtems-4-6-branch.
+ Purge hppa1.1.
+ * index.html.in: Purge hppa1.1.
+ * project.am: Merger from rtems-4-6-branch.
+ * rtems_support.html.in: Purge hppa1.1.
+
2003-09-19 Joel Sherrill <joel@OARcorp.com>
* HELP.html, index.html.in, rtems_footer.html.in, rtems_header.html.in,
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 090dcb0a9e..450d088bff 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -34,3 +34,6 @@ html_images_DATA = $(HTML_IMAGES)
endif
EXTRA_DIST += $(HTML_IMAGES)
+
+CLEANFILES = common/rtems.texi
+DISTCLEANFILES = common/rtems.sed
diff --git a/doc/configure.ac b/doc/configure.ac
index 791215d376..592d747f3b 100644
--- a/doc/configure.ac
+++ b/doc/configure.ac
@@ -10,7 +10,7 @@ AM_INIT_AUTOMAKE([no-define foreign 1.7.2])
AM_MAINTAINER_MODE
AC_ARG_ENABLE(html,
-[ --disable-html disable html support ],
+[ --disable-html disable html support ],
[case $enableval in
yes) ;;
no) ;;
@@ -135,16 +135,70 @@ dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
+AC_MSG_CHECKING([for ../scripts/setup.def])
+AS_IF([test -f ${srcdir}/../scripts/setup.def],[
+. ${srcdir}/../scripts/setup.def
+AC_MSG_RESULT([done])
+],[
+AC_MSG_ERROR([missing])
+])
+
+AS_IF([test -z "$binutils_patch_version"],
+[set_binutils_patch="@clear BINUTILSPATCHVERSION"],
+[set_binutils_patch="@set BINUTILSPATCHVERSION $binutils_patch_version"])
+
+AS_IF([test -z "$gcc3newlib_patch_version"],
+[set_newlib_patch="@clear NEWLIBPATCHVERSION"],
+[set_newlib_patch="@set NEWLIBPATCHVERSION $gcc3newlib_patch_version"])
+
+AS_IF([test -z "$gcc3_patch_version"],
+[set_gcc3_patch="@clear GCCPATCHVERSION"],
+[set_gcc_patch="@set GCCPATCHVERSION $gcc3_patch_version"])
+
+AS_IF([test -z "$gdb_patch_version"],
+[set_gdb_patch="@clear GDBPATCHVERSION"],
+[set_gdb_patch="@set GDBPATCHVERSION $gdb_patch_version"])
+
AC_CONFIG_SUBDIRS(tools)
-AC_CONFIG_FILES([Makefile
+AC_CONFIG_FILES([Makefile],[],[
+test -d common || mkdir common
+cat << EOF > common/rtems.sed~
+:t
+s/@RTEMSAPI@/RTEMS_API/;t t
+s,@RTEMSPREFIX@,$prefix,;t t
+EOF
+_RTEMS_UPDATE_CONDITIONAL([common/rtems.sed],[common/rtems.sed~])
+])
+
+AC_CONFIG_FILES([
rtems_support.html
index.html
FAQ/Makefile
develenv/Makefile
user/Makefile
-bsp_howto/Makefile
-started/Makefile
+bsp_howto/Makefile])
+
+AC_CONFIG_FILES([started/Makefile],[],[
+test -d started || mkdir started
+cat << EOF > started/tversions.sed~
+:t
+s/@GCCVERSION@/$gcc3_version/;t t
+s/@BINUTILSVERSION@/$binutils_version/;t t
+s/@NEWLIBVERSION@/$gcc3newlib_version/;t t
+s/@GDBVERSION@/$gdb_version/;t t
+s/@SETBINUTILSPATCHVERSION@/$set_binutils_patch/;t t
+s/@SETGCCPATCHVERSION@/$set_gcc_patch/;t t
+s/@SETNEWLIBPATCHVERSION@/$set_newlib_patch/;t t
+s/@SETGDBPATCHVERSION@/$set_gdb_patch/;t t
+s/@GCCRPMRELEASE@/$gcc3newlib_rpm_release/;t t
+s/@BINUTILSRPMRELEASE@/$binutils_rpm_release/;t t
+s/@GDBRPMRELEASE@/$gdb_rpm_release/;t t
+EOF
+_RTEMS_UPDATE_CONDITIONAL([started/tversions.sed],[started/tversions.sed~])
+])
+
+AC_CONFIG_FILES([
porting/Makefile
networking/Makefile
posix_users/Makefile
@@ -160,7 +214,6 @@ new_chapters/Makefile
supplements/Makefile
supplements/arm/Makefile
supplements/c4x/Makefile
-supplements/hppa1_1/Makefile
supplements/i386/Makefile
supplements/i960/Makefile
supplements/m68k/Makefile
diff --git a/doc/index.html.in b/doc/index.html.in
index 29716d7fe1..42e76ed281 100644
--- a/doc/index.html.in
+++ b/doc/index.html.in
@@ -295,17 +295,6 @@
<A HREF="HELP.html">
RTEMS MIPS64 ORION Applications Supplement</A>
</LI>
-
- <LI><A HREF="../pdf/hppa1_1.pdf">
- <IMG SRC="images/pdf1.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="../ps/hppa1_1.ps">
- <IMG SRC="images/ps.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="../dvi/hppa1_1.dvi">
- <IMG SRC="images/dvi.gif" HEIGHT=18 WIDTH=16></A>
- <A HREF="supplements/hppa1_1/index.html">
- RTEMS Hewlett Packard PA-RISC Applications Supplement</A>
- </LI>
-
</MENU>
</LI>
diff --git a/doc/project.am b/doc/project.am
index a84627507f..e2409cdbfd 100644
--- a/doc/project.am
+++ b/doc/project.am
@@ -78,3 +78,10 @@ endif # USE_PS
if USE_PDF
pdf_DATA = $(PROJECT).pdf
endif
+
+COMMON_FILES = $(top_srcdir)/common/setup.texi
+COMMON_FILES += $(top_builddir)/common/rtems.texi
+
+$(top_builddir)/common/rtems.texi: $(top_srcdir)/common/rtems.texi.in $(top_builddir)/common/rtems.sed
+ sed -f $(top_builddir)/common/rtems.sed \
+ $(top_srcdir)/common/rtems.texi.in > $(top_builddir)/common/rtems.texi
diff --git a/doc/rtems_support.html.in b/doc/rtems_support.html.in
index 6144169106..3d3a77558c 100644
--- a/doc/rtems_support.html.in
+++ b/doc/rtems_support.html.in
@@ -47,8 +47,6 @@ RTEMS LogoMENU>
RTEMS PowerPC Applications Supplement</A>
<LI><A HREF="support/c_sparc/index.html">
RTEMS SPARC Applications Supplement</A>
- <LI><A HREF="support/c_hppa1_1/index.html">
- RTEMS Hewlett Packard PA-RISC Applications Supplement</A>
<LI><A HREF="HELP.html">RTEMS UNIX Port Applications Supplement</A>
</MENU>
</LI>