forked from Imagelibrary/rtems
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.
77 lines
1.6 KiB
Plaintext
77 lines
1.6 KiB
Plaintext
## $Id$
|
|
|
|
# HACK: makeinfo is locale sensitive
|
|
LANG=C
|
|
|
|
SUFFIXES = .t
|
|
|
|
MAINTAINERCLEANFILES =
|
|
CLEANFILES =
|
|
MOSTLYCLEANFILES =
|
|
CLEANFILES += $(GENERATED_FILES)
|
|
|
|
AM_MAKEINFOFLAGS = -I $(top_builddir) -I $(top_srcdir)
|
|
TEXI2DVI = @TEXI2DVI@ -I $(top_builddir) -I $(top_srcdir)
|
|
TEXI2PDF = @TEXI2PDF@ -I $(top_builddir) -I $(top_srcdir)
|
|
|
|
# Without $(srcdir) in TEXINPUTS, dvips doesn't find the *.eps
|
|
# we distribute in $(srcdir)
|
|
.dvi.ps:
|
|
TEXINPUTS="$(srcdir)${PATH_SEPARATOR}$$TEXINPUTS" \
|
|
$(DVIPS) -o $@ $<
|
|
|
|
## DVI support
|
|
dvidir = $(pkgdocdir)/dvi
|
|
|
|
## PS support
|
|
psdir = $(pkgdocdir)/ps
|
|
|
|
## PDF support
|
|
pdfdir = $(pkgdocdir)/pdf
|
|
|
|
if EPSTOPDF
|
|
.eps.pdf:
|
|
$(EPSTOPDF) $< --outfile=$@
|
|
endif
|
|
|
|
$(PROJECT).pdf: $(PROJECT).texi $($(PROJECT)_TEXINFOS) $(PDF_IMAGES)
|
|
CLEANFILES += $(PROJECT).pdf
|
|
|
|
MOSTLYCLEANFILES += $(PDF_IMAGES)
|
|
|
|
## HTML
|
|
SUFFIXES += .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 = $(PROJECT)*.html
|
|
endif
|
|
|
|
if USE_DVI
|
|
dvi_DATA = $(PROJECT).dvi
|
|
endif # USE_DVI
|
|
|
|
if USE_PS
|
|
ps_DATA = $(PROJECT).ps
|
|
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
|
|
|
|
$(srcdir)/version.texi:
|