aboutsummaryrefslogtreecommitdiff
path: root/gprofng/doc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-03-14 17:35:52 -0700
committerH.J. Lu <hjl.tools@gmail.com>2022-03-15 07:28:43 -0700
commita4eb1b3cf6d12ff997f37eb9272cbe9251efae27 (patch)
tree6a21b426a25cac8976fde210de243002603f75ae /gprofng/doc
parente34f44e1bf02c91825da11d47b3fadebc5bef451 (diff)
downloadgdb-a4eb1b3cf6d12ff997f37eb9272cbe9251efae27.zip
gdb-a4eb1b3cf6d12ff997f37eb9272cbe9251efae27.tar.gz
gdb-a4eb1b3cf6d12ff997f37eb9272cbe9251efae27.tar.bz2
gprofng: Don't generate gprofng.info in source
Add info-in-builddir to AUTOMAKE_OPTIONS. PR gprof/28967 * doc/Makefile.am (AUTOMAKE_OPTIONS): Add info-in-builddir. * doc/Makefile.in: Regenerate.
Diffstat (limited to 'gprofng/doc')
-rw-r--r--gprofng/doc/Makefile.am2
-rw-r--r--gprofng/doc/Makefile.in30
2 files changed, 12 insertions, 20 deletions
diff --git a/gprofng/doc/Makefile.am b/gprofng/doc/Makefile.am
index 3dc2cac..151e65a 100644
--- a/gprofng/doc/Makefile.am
+++ b/gprofng/doc/Makefile.am
@@ -17,7 +17,7 @@
# <http://www.gnu.org/licenses/>.
#
-AUTOMAKE_OPTIONS = foreign no-texinfo.tex
+AUTOMAKE_OPTIONS = info-in-builddir foreign no-texinfo.tex
info_TEXINFOS = gprofng.texi
gprofng_TEXINFOS = fdl.texi
diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in
index 31e298c..b45d688 100644
--- a/gprofng/doc/Makefile.in
+++ b/gprofng/doc/Makefile.in
@@ -165,7 +165,7 @@ AM_V_texidevnull = $(am__v_texidevnull_@AM_V@)
am__v_texidevnull_ = $(am__v_texidevnull_@AM_DEFAULT_V@)
am__v_texidevnull_0 = > /dev/null
am__v_texidevnull_1 =
-INFO_DEPS = $(srcdir)/gprofng.info
+INFO_DEPS = gprofng.info
am__TEXINFO_TEX_DIR = $(srcdir)/.
DVIS = gprofng.dvi
PDFS = gprofng.pdf
@@ -349,7 +349,7 @@ target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AUTOMAKE_OPTIONS = foreign no-texinfo.tex
+AUTOMAKE_OPTIONS = info-in-builddir foreign no-texinfo.tex
info_TEXINFOS = gprofng.texi
gprofng_TEXINFOS = fdl.texi
BUILT_SOURCES = version.texi
@@ -363,7 +363,7 @@ all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
.SUFFIXES:
-.SUFFIXES: .dvi .html .info .pdf .ps .texi
+.SUFFIXES: .dvi .ps
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
@@ -400,53 +400,45 @@ mostlyclean-libtool:
clean-libtool:
-rm -rf .libs _libs
-.texi.info:
+gprofng.info: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
$(AM_V_MAKEINFO)restore=: && backupdir="$(am__leading_dot)am$$$$" && \
- am__cwd=`pwd` && $(am__cd) $(srcdir) && \
rm -rf $$backupdir && mkdir $$backupdir && \
if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
- cd "$$am__cwd"; \
if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
- -o $@ $<; \
+ -o $@ `test -f 'gprofng.texi' || echo '$(srcdir)/'`gprofng.texi; \
then \
rc=0; \
- $(am__cd) $(srcdir); \
else \
rc=$$?; \
- $(am__cd) $(srcdir) && \
$$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
fi; \
rm -rf $$backupdir; exit $$rc
-.texi.dvi:
+gprofng.dvi: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
$(AM_V_TEXI2DVI)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
$(TEXI2DVI) $(AM_V_texinfo) --build-dir=$(@:.dvi=.t2d) -o $@ $(AM_V_texidevnull) \
- $<
+ `test -f 'gprofng.texi' || echo '$(srcdir)/'`gprofng.texi
-.texi.pdf:
+gprofng.pdf: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
$(AM_V_TEXI2PDF)TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
$(TEXI2PDF) $(AM_V_texinfo) --build-dir=$(@:.pdf=.t2p) -o $@ $(AM_V_texidevnull) \
- $<
+ `test -f 'gprofng.texi' || echo '$(srcdir)/'`gprofng.texi
-.texi.html:
+gprofng.html: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
$(AM_V_MAKEINFO)rm -rf $(@:.html=.htp)
$(AM_V_at)if $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
- -o $(@:.html=.htp) $<; \
+ -o $(@:.html=.htp) `test -f 'gprofng.texi' || echo '$(srcdir)/'`gprofng.texi; \
then \
rm -rf $@ && mv $(@:.html=.htp) $@; \
else \
rm -rf $(@:.html=.htp); exit 1; \
fi
-$(srcdir)/gprofng.info: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
-gprofng.dvi: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
-gprofng.pdf: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
-gprofng.html: gprofng.texi $(srcdir)/version.texi $(gprofng_TEXINFOS)
$(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti
$(srcdir)/stamp-vti: gprofng.texi $(top_srcdir)/configure
@(dir=.; test -f ./gprofng.texi || dir=$(srcdir); \