summaryrefslogtreecommitdiffstats
path: root/doc/project.am
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-12-06 15:12:48 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-12-06 15:12:48 +0000
commitabdeac2a140b9a6a13602734e6da1041765fe710 (patch)
tree1d665667f0cd9e59ee6cf8ab899ccfdb67a3ba8a /doc/project.am
parent2011-12-06 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-abdeac2a140b9a6a13602734e6da1041765fe710.tar.bz2
2011-12-06 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1793/doc * .cvsignore, Makefile.am, README, configure.ac, index.html.in, main.am, project.am, ada_user/.cvsignore, ada_user/ada_user.texi, ada_user/example.texi, bsp_howto/.cvsignore, bsp_howto/bsp_howto.texi, cpu_supplement/.cvsignore, cpu_supplement/cpu_supplement.texi, cpu_supplement/preface.texi, develenv/.cvsignore, develenv/develenv.texi, develenv/intro.texi, filesystem/.cvsignore, filesystem/filesystem.texi, filesystem/preface.texi, networking/.cvsignore, networking/networking.texi, networking/preface.texi, porting/.cvsignore, porting/porting.texi, porting/preface.texi, posix1003.1/.cvsignore, posix1003.1/posix1003_1.texi, posix_users/.cvsignore, posix_users/posix_users.texi, posix_users/preface.texi, shell/.cvsignore, shell/preface.texi, shell/shell.texi, started/.cvsignore, started/started.texi, user/.cvsignore, user/c_user.texi, user/dirstat.texi, user/example.texi, user/glossary.texi, user/preface.texi: Convert from texi2www to texi2html. * texi2html_init.in: New file. * rtems_footer.html.in, rtems_header.html.in: Removed.
Diffstat (limited to 'doc/project.am')
-rw-r--r--doc/project.am23
1 files changed, 7 insertions, 16 deletions
diff --git a/doc/project.am b/doc/project.am
index 0ec41a28f5..0c9d50c8c2 100644
--- a/doc/project.am
+++ b/doc/project.am
@@ -42,25 +42,16 @@ MOSTLYCLEANFILES += $(PDF_IMAGES)
## HTML
SUFFIXES += .html
-rtems_header.html: $(top_srcdir)/rtems_header.html.in version.texi
- @sed -e s%\.\./images/%$(top_builddir)/images/%g \
- -e s%\@VERSION\@%@VERSION@%g \
- < $< > $@
-rtems_footer.html: $(top_srcdir)/rtems_footer.html.in version.texi
- @sed -e s%\.\./images/%$(top_builddir)/%g \
- -e s%\@VERSION\@%@VERSION@%g \
- < $< > $@
-
-index.html $(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS) \
- rtems_header.html rtems_footer.html
- $(TEXI2WWW) $(TEXI2WWW_ARGS) -base $(PROJECT) $<
-
-MOSTLYCLEANFILES += index.html $(PROJECT)*.html rtems_header.html \
- rtems_footer.html
+$(PROJECT)*.html: $(PROJECT).texi $($(PROJECT)_TEXINFOS)
+ rm -rf $(PROJECT).html
+ $(TEXI2HTML) $(TEXI2HTML_ARGS) --menu $< $<
+ -rm -rf $(PROJECT)
+
+MOSTLYCLEANFILES += index.html $(PROJECT)*.html
## Common installation points
if USE_HTML
-html_project_DATA = index.html $(PROJECT)*.html
+html_project_DATA = $(PROJECT)*.html
endif
if USE_DVI