From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2041) id 186893858CDA; Mon, 19 Sep 2022 19:01:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 186893858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663614101; bh=gXc1b/ukCiQU9sdLMFZZAu1ObBnZBsaguJ4gEUbvYB0=; h=From:To:Subject:Date:From; b=hgaO56U23nlT2ZAPB6GK90mm2BHVbFS32MzXT19xVnuoaiEFavj92WGCQCLoqKxOk 7tGH4bC4t0x4pXXIY6AO//hHLi22iVfEA+p9s89MrPhsancAIgR5Q+CGXppATTBN5J PGe+z+dVvFV8v+2CADQa6Y3ek9wOJPKseZomkDJA= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Vladimir Mezentsev To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] gprofng: build documentation only if BUILD_MAN is true X-Act-Checkin: binutils-gdb X-Git-Author: Vladimir Mezentsev X-Git-Refname: refs/heads/master X-Git-Oldrev: 77b7377bc4c8d404de00c5a360e64daee75acf80 X-Git-Newrev: e1d23dca8a4784b2574722025a2defd7f0e5418e Message-Id: <20220919190141.186893858CDA@sourceware.org> Date: Mon, 19 Sep 2022 19:01:41 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De1d23dca8a47= 84b2574722025a2defd7f0e5418e commit e1d23dca8a4784b2574722025a2defd7f0e5418e Author: Vladimir Mezentsev Date: Fri Sep 16 13:19:38 2022 -0700 gprofng: build documentation only if BUILD_MAN is true =20 gprofng/ChangeLog 2022-09-16 Vladimir Mezentsev =20 PR gprofng/29476 * gprofng/Makefile.am: Build documentation only if BUILD_MAN is= true * gprofng/Makefile.in: Rebuild. * gprofng/configure: Rebuild. Diff: --- gprofng/Makefile.am | 7 +++++-- gprofng/Makefile.in | 5 +++-- gprofng/configure | 1 - 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gprofng/Makefile.am b/gprofng/Makefile.am index 2fcd695140c..96f80157008 100644 --- a/gprofng/Makefile.am +++ b/gprofng/Makefile.am @@ -23,11 +23,14 @@ AUTOMAKE_OPTIONS =3D dejagnu foreign if BUILD_COLLECTOR COLLECTOR_SUBDIRS =3D libcollector endif +if BUILD_MAN + DOC_SUBDIR =3D doc +endif if BUILD_SRC - SRC_SUBDIRS =3D src gp-display-html doc + SRC_SUBDIRS =3D src gp-display-html $(DOC_SUBDIR) endif SUBDIRS =3D $(COLLECTOR_SUBDIRS) $(SRC_SUBDIRS) -DIST_SUBDIRS =3D libcollector src gp-display-html doc +DIST_SUBDIRS =3D libcollector src gp-display-html $(DOC_SUBDIR) =20 # Setup the testing framework, if you have one EXPECT =3D expect diff --git a/gprofng/Makefile.in b/gprofng/Makefile.in index fd5279b4df1..d660f99233f 100644 --- a/gprofng/Makefile.in +++ b/gprofng/Makefile.in @@ -381,9 +381,10 @@ zlibinc =3D @zlibinc@ ACLOCAL_AMFLAGS =3D -I . -I ..=20 AUTOMAKE_OPTIONS =3D dejagnu foreign @BUILD_COLLECTOR_TRUE@COLLECTOR_SUBDIRS =3D libcollector -@BUILD_SRC_TRUE@SRC_SUBDIRS =3D src gp-display-html doc +@BUILD_MAN_TRUE@DOC_SUBDIR =3D doc +@BUILD_SRC_TRUE@SRC_SUBDIRS =3D src gp-display-html $(DOC_SUBDIR) SUBDIRS =3D $(COLLECTOR_SUBDIRS) $(SRC_SUBDIRS) -DIST_SUBDIRS =3D libcollector src gp-display-html doc +DIST_SUBDIRS =3D libcollector src gp-display-html $(DOC_SUBDIR) RUNTEST =3D runtest RUNTESTFLAGS =3D=20 BASEDIR =3D $(srcdir)/.. diff --git a/gprofng/configure b/gprofng/configure index 301ac10050b..c90e36cb1cf 100755 --- a/gprofng/configure +++ b/gprofng/configure @@ -16628,7 +16628,6 @@ LIBC=3Dgnu EOF cc_set_libc=3D`$CC -E "dummy.c" 2>/dev/null | grep '^LIBC=3D' | sed 's, ,,= g'` eval "$cc_set_libc" -echo "cc_set_libc=3D$cc_set_libc;" if test "$LIBC" =3D musl; then =20 $as_echo "#define __MUSL_LIBC 1" >>confdefs.h