From: Led <led@altlinux.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: [devel] %force_{en,dis}able Date: Tue, 23 May 2006 17:05:27 +0300 Message-ID: <200605231705.27245.led@altlinux.ru> (raw) Нельзя ли у нас модифицировать существующие макросы до подобного состояния %define force_disable() %{expand:%%global _disable_%{1} --disable-%{1}} %{expand:%%undefine _enable_%{1}} %define force_enable() %{expand:%%global _enable_%{1} --enable-%{1}} %{expand: %%undefine _disable_%{1}} ? Или добавить другие с подобным поведением? А то (ИМХО) использование существующих %force_enable/%force_disable приводит зачастую к неочевидным и трудновыявляемым ошибкам, потому как после %def_enable foo .... %force_disable foo выходит, что определены и _enabled_foo, и _disabled_foo :( Led.
reply other threads:[~2006-05-23 14:05 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200605231705.27245.led@altlinux.ru \ --to=led@altlinux.ru \ --cc=devel@altlinux.ru \ --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