mirror of git://sourceware.org/git/glibc.git
Update.
* Makefile (pdf): New goal. * manual/Makefile: Add definitions and rules for PDF generation.
This commit is contained in:
parent
7210de3379
commit
1830a0d541
|
@ -1,5 +1,8 @@
|
||||||
1999-10-31 Ulrich Drepper <drepper@cygnus.com>
|
1999-10-31 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* Makefile (pdf): New goal.
|
||||||
|
* manual/Makefile: Add definitions and rules for PDF generation.
|
||||||
|
|
||||||
* Versions.def (libm): Add GLIBC_2.1.3.
|
* Versions.def (libm): Add GLIBC_2.1.3.
|
||||||
|
|
||||||
ISO C99 TR1 changes various fe* functions to return an error value.
|
ISO C99 TR1 changes various fe* functions to return an error value.
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -163,8 +163,8 @@ $(objpfx)glibcbug: $(common-objpfx)config.status glibcbug.in
|
||||||
cd $(<D) && CONFIG_FILES=$(@F) CONFIG_HEADERS= $(SHELL) $(<F)
|
cd $(<D) && CONFIG_FILES=$(@F) CONFIG_HEADERS= $(SHELL) $(<F)
|
||||||
|
|
||||||
# This makes the Info or DVI file of the documentation from the Texinfo source.
|
# This makes the Info or DVI file of the documentation from the Texinfo source.
|
||||||
.PHONY: info dvi
|
.PHONY: info dvi pdf
|
||||||
info dvi:
|
info dvi pdf:
|
||||||
$(MAKE) $(PARALLELMFLAGS) -C manual $@
|
$(MAKE) $(PARALLELMFLAGS) -C manual $@
|
||||||
|
|
||||||
# This makes all the subdirectory targets.
|
# This makes all the subdirectory targets.
|
||||||
|
|
|
@ -24,9 +24,10 @@ export subdir := $(subdir)
|
||||||
# Allow override
|
# Allow override
|
||||||
INSTALL_INFO = install-info
|
INSTALL_INFO = install-info
|
||||||
|
|
||||||
.PHONY: all dvi info
|
.PHONY: all dvi pdf info
|
||||||
all: dvi
|
all: dvi
|
||||||
dvi: libc.dvi
|
dvi: libc.dvi
|
||||||
|
pdf: libc.pdf
|
||||||
|
|
||||||
# Get glibc's configuration info.
|
# Get glibc's configuration info.
|
||||||
ifneq (,$(wildcard ../Makeconfig))
|
ifneq (,$(wildcard ../Makeconfig))
|
||||||
|
@ -37,6 +38,8 @@ TEXI2DVI = texi2dvi
|
||||||
AWK = gawk
|
AWK = gawk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TEXI2PDF = pdftexinfo
|
||||||
|
|
||||||
ifneq ($(strip $(MAKEINFO)),)
|
ifneq ($(strip $(MAKEINFO)),)
|
||||||
all: info
|
all: info
|
||||||
info: libc.info dir-add.info
|
info: libc.info dir-add.info
|
||||||
|
@ -69,8 +72,8 @@ examples = $(filter-out $(foreach d, $(add-ons), ../$d/%.c.texi), \
|
||||||
chapters.% top-menu.%: libc-texinfo.sh $(texis)
|
chapters.% top-menu.%: libc-texinfo.sh $(texis)
|
||||||
AWK=$(AWK) $(SHELL) $< '$(chapters)' '$(add-chapters)' '$(appendices)'
|
AWK=$(AWK) $(SHELL) $< '$(chapters)' '$(add-chapters)' '$(appendices)'
|
||||||
|
|
||||||
libc.dvi libc.info: chapters.texi top-menu.texi libm-err.texi
|
libc.dvi libc.pdf libc.info: chapters.texi top-menu.texi libm-err.texi
|
||||||
libc.dvi: texinfo.tex
|
libc.dvi libc.pdf: texinfo.tex
|
||||||
|
|
||||||
# Generate the summary from the Texinfo source files for each chapter.
|
# Generate the summary from the Texinfo source files for each chapter.
|
||||||
summary.texi: stamp-summary ;
|
summary.texi: stamp-summary ;
|
||||||
|
@ -113,6 +116,9 @@ stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
|
||||||
%.dvi: %.texinfo
|
%.dvi: %.texinfo
|
||||||
$(TEXI2DVI) $<
|
$(TEXI2DVI) $<
|
||||||
|
|
||||||
|
%.pdf: %.texinfo
|
||||||
|
$(TEXI2PDF) $<
|
||||||
|
|
||||||
# Distribution.
|
# Distribution.
|
||||||
minimal-dist = summary.awk texis.awk tsort.awk libc-texinfo.sh libc.texinfo \
|
minimal-dist = summary.awk texis.awk tsort.awk libc-texinfo.sh libc.texinfo \
|
||||||
libm-err.texi stamp-libm-err \
|
libm-err.texi stamp-libm-err \
|
||||||
|
@ -151,7 +157,7 @@ glibc-doc-$(edition).tar: $(doc-only-dist) $(distribute)
|
||||||
|
|
||||||
.PHONY: mostlyclean distclean realclean clean
|
.PHONY: mostlyclean distclean realclean clean
|
||||||
mostlyclean:
|
mostlyclean:
|
||||||
-rm -f libc.dvi libc.tmp libc.info* dir-add.info
|
-rm -f libc.dvi libc.pdf libc.tmp libc.info* dir-add.info
|
||||||
-rm -f $(objpfx)stubs $(objpfx)distinfo
|
-rm -f $(objpfx)stubs $(objpfx)distinfo
|
||||||
-rm -f $(foreach o,$(object-suffixes-for-libc),$(objpfx)stamp$o)
|
-rm -f $(foreach o,$(object-suffixes-for-libc),$(objpfx)stamp$o)
|
||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
|
|
Loading…
Reference in New Issue