ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] %force_{en,dis}able
@ 2006-05-23 13:58 Led
  0 siblings, 0 replies; only message in thread
From: Led @ 2006-05-23 13:58 UTC (permalink / raw)
  To: ALT Devel discussion list

Нельзя ли у нас модифицировать существующие макросы до подобного состояния

%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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-23 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-23 13:58 [devel] %force_{en,dis}able Led

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