From: Afanasov Dmitry <ender@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] макрос %subst_enable_to / %subst_with_to
Date: Wed, 17 Feb 2010 14:27:54 +0300
Message-ID: <20100217112752.GC4161@ender.fondinvestrk.ru> (raw)
In-Reply-To: <20100217112201.GH27727@wrars-comp.wrarsdomain>
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
On Wed, Feb 17, 2010 at 04:22:01PM +0500, Andrey Rahmatullin wrote:
> On Wed, Feb 17, 2010 at 05:17:12PM +0600, Ildar Mulyukov wrote:
> > Коллеги,
> > интересует история макроса %subst_enable_to.
> Что это и как работает?
используется, например, в mplayer:
%define subst_enable_to() %{expand:%%{?_enable_%{1}:--enable-%{2}}} %%{expand:%%{?_disable_%{1}:--disable-%{2}}}
вызов:
%{subst_enable_to radio_v4l1 radio-v4l}
оно там исторически, я сам всё по старинке: %{?_enable_feature:--enable-feature} :)
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-02-17 11:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 11:17 Ildar Mulyukov
2010-02-17 11:22 ` Andrey Rahmatullin
2010-02-17 11:27 ` Afanasov Dmitry [this message]
2010-02-17 11:44 ` Ildar Mulyukov
2010-02-17 12:23 ` Afanasov Dmitry
2010-02-17 15:37 ` Dmitry V. Levin
2010-02-18 3:56 ` Ildar Mulyukov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100217112752.GC4161@ender.fondinvestrk.ru \
--to=ender@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git