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
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
@c
|
||||
|
||||
@set use-ascii
|
||||
@clear use-html
|
||||
@clear use-tex
|
||||
@c @clear use-html
|
||||
@c @clear use-tex
|
||||
|
||||
@iftex
|
||||
@clear use-ascii
|
||||
|
||||
@@ -49,6 +49,19 @@ esac],
|
||||
[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'
|
||||
AC_SUBST(htmldir)
|
||||
|
||||
@@ -63,10 +76,8 @@ AC_SUBST(TEXI2WWW)
|
||||
AC_CHECK_PROGS(GS,gs)
|
||||
AM_CONDITIONAL(GS,test x"$GS" != x"")
|
||||
|
||||
# TEXI2DVI='$(PERL) $(top_srcdir)/tools/texi2www/texi2dvi'
|
||||
AC_CHECK_PROGS(TEXI2DVI,texi2dvi)
|
||||
AM_CONDITIONAL(TEXI2DVI,test x"$TEXI2DVI" != x"")
|
||||
|
||||
if test "$enable_pdf" = "yes"; then
|
||||
AC_CHECK_PROGS(EPSTOPDF,epstopdf)
|
||||
AM_CONDITIONAL(EPSTOPDF,test x"$EPSTOPDF" != x"")
|
||||
@@ -92,6 +103,21 @@ AM_CONDITIONAL(USE_PDF,
|
||||
&& test x"$TEXI2DVI" != 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'
|
||||
AC_SUBST(BMENU2)
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -3,13 +3,14 @@
|
||||
SUFFIXES += .t
|
||||
|
||||
## Texinfo support
|
||||
TEXINFO_TEX = $(top_srcdir)/texinfo/texinfo.tex
|
||||
TEXINFO_TEX = ../texinfo/texinfo.tex
|
||||
TEXINPUTS = $(srcdir):$(top_srcdir)
|
||||
TEXI_COMMON = -I ..
|
||||
|
||||
.texi:
|
||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||
cd $(srcdir) \
|
||||
&& $(MAKEINFO) -I $(top_srcdir) `echo $< | sed 's,.*/,,'`
|
||||
cd $(srcdir) && \
|
||||
$(MAKEINFO) $(TEXI_COMMON) `echo $< | sed 's,.*/,,'`
|
||||
|
||||
$(srcdir)/stamp-vti: $(PROJECT).texi $(top_srcdir)/configure.in
|
||||
@echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh \
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
@setfilename started
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c @paragraphindent 0
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
|
||||
REPLACE2 = $(PERL) $(top_srcdir)/tools/word-replace2
|
||||
|
||||
TEXINFO_TEX = ../../texinfo/texinfo.tex
|
||||
TEXI_COMMON = -I ../..
|
||||
|
||||
MAINTAINERCLEANFILES += $(GENERATED_FILES)
|
||||
html_projectdir = $(htmldir)/supplements/$(PROJECT)
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
@syncodeindex vr fn
|
||||
@synindex ky cp
|
||||
@paragraphindent 0
|
||||
@c @smallbook
|
||||
@c %**end of header
|
||||
|
||||
@c
|
||||
|
||||
Reference in New Issue
Block a user