forked from Imagelibrary/rtems
Patch rtemsdoc-4.5.0-rc-13-cvs.diff.gz from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> which: * should fix the building rtemsdoc outside of the sourcetree with relative srcdir issue * adds --enable-papersize=[letter|a4|]
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
@c
|
@c
|
||||||
|
|
||||||
@set use-ascii
|
@set use-ascii
|
||||||
@clear use-html
|
@c @clear use-html
|
||||||
@clear use-tex
|
@c @clear use-tex
|
||||||
|
|
||||||
@iftex
|
@iftex
|
||||||
@clear use-ascii
|
@clear use-ascii
|
||||||
|
|||||||
@@ -49,6 +49,19 @@ esac],
|
|||||||
[enable_ps="yes"]
|
[enable_ps="yes"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(papersize,
|
||||||
|
[ --enable-papersize=[letter|a4|] set papersize [default:system defaults]],
|
||||||
|
[case $enableval in
|
||||||
|
a4) papersize=a4 ;;
|
||||||
|
letter) papersize=letter ;;
|
||||||
|
yes) papersize= ;;
|
||||||
|
no) papersize= ;;
|
||||||
|
*) AC_MSG_ERROR([Invalid papersize])
|
||||||
|
;;
|
||||||
|
esac],
|
||||||
|
[papersize=]
|
||||||
|
)
|
||||||
|
|
||||||
htmldir='$(pkgdatadir)/html'
|
htmldir='$(pkgdatadir)/html'
|
||||||
AC_SUBST(htmldir)
|
AC_SUBST(htmldir)
|
||||||
|
|
||||||
@@ -63,10 +76,8 @@ AC_SUBST(TEXI2WWW)
|
|||||||
AC_CHECK_PROGS(GS,gs)
|
AC_CHECK_PROGS(GS,gs)
|
||||||
AM_CONDITIONAL(GS,test x"$GS" != x"")
|
AM_CONDITIONAL(GS,test x"$GS" != x"")
|
||||||
|
|
||||||
# TEXI2DVI='$(PERL) $(top_srcdir)/tools/texi2www/texi2dvi'
|
|
||||||
AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
|
AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
|
||||||
AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
|
AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
|
||||||
|
|
||||||
if test "$enable_pdf" = "yes"; then
|
if test "$enable_pdf" = "yes"; then
|
||||||
AC_CHECK_PROGS(EPSTOPDF,epstopdf)
|
AC_CHECK_PROGS(EPSTOPDF,epstopdf)
|
||||||
AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
|
AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
|
||||||
@@ -92,6 +103,21 @@ AM_CONDITIONAL(USE_PDF,
|
|||||||
&& test x"$TEXI2DVI" != x"" \
|
&& test x"$TEXI2DVI" != x"" \
|
||||||
&& test x"$TEXI2PDF" != x"" )
|
&& test x"$TEXI2PDF" != x"" )
|
||||||
|
|
||||||
|
case $papersize in
|
||||||
|
a4)
|
||||||
|
TEXI2DVI="${TEXI2DVI} --texinfo=@afourpaper"
|
||||||
|
TEXI2PDF="${TEXI2PDF} --texinfo=@afourpaper"
|
||||||
|
DVIPS="dvips -t a4"
|
||||||
|
;;
|
||||||
|
letter)
|
||||||
|
DVIPS="dvips -t letter"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
DVIPS="dvips"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_SUBST(DVIPS)
|
||||||
|
|
||||||
BMENU2='$(top_builddir)/tools/bmenu/bmenu2'
|
BMENU2='$(top_builddir)/tools/bmenu/bmenu2'
|
||||||
AC_SUBST(BMENU2)
|
AC_SUBST(BMENU2)
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -3,13 +3,14 @@
|
|||||||
SUFFIXES += .t
|
SUFFIXES += .t
|
||||||
|
|
||||||
## Texinfo support
|
## Texinfo support
|
||||||
TEXINFO_TEX = $(top_srcdir)/texinfo/texinfo.tex
|
TEXINFO_TEX = ../texinfo/texinfo.tex
|
||||||
TEXINPUTS = $(srcdir):$(top_srcdir)
|
TEXINPUTS = $(srcdir):$(top_srcdir)
|
||||||
|
TEXI_COMMON = -I ..
|
||||||
|
|
||||||
.texi:
|
.texi:
|
||||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||||
cd $(srcdir) \
|
cd $(srcdir) && \
|
||||||
&& $(MAKEINFO) -I $(top_srcdir) `echo $< | sed 's,.*/,,'`
|
$(MAKEINFO) $(TEXI_COMMON) `echo $< | sed 's,.*/,,'`
|
||||||
|
|
||||||
$(srcdir)/stamp-vti: $(PROJECT).texi $(top_srcdir)/configure.in
|
$(srcdir)/stamp-vti: $(PROJECT).texi $(top_srcdir)/configure.in
|
||||||
@echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh \
|
@echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh \
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
@setfilename started
|
@setfilename started
|
||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@c @paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
REPLACE2 = $(PERL) $(top_srcdir)/tools/word-replace2
|
REPLACE2 = $(PERL) $(top_srcdir)/tools/word-replace2
|
||||||
|
|
||||||
|
TEXINFO_TEX = ../../texinfo/texinfo.tex
|
||||||
|
TEXI_COMMON = -I ../..
|
||||||
|
|
||||||
MAINTAINERCLEANFILES += $(GENERATED_FILES)
|
MAINTAINERCLEANFILES += $(GENERATED_FILES)
|
||||||
html_projectdir = $(htmldir)/supplements/$(PROJECT)
|
html_projectdir = $(htmldir)/supplements/$(PROJECT)
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
@syncodeindex vr fn
|
@syncodeindex vr fn
|
||||||
@synindex ky cp
|
@synindex ky cp
|
||||||
@paragraphindent 0
|
@paragraphindent 0
|
||||||
@c @smallbook
|
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@c
|
@c
|
||||||
|
|||||||
Reference in New Issue
Block a user