5 Sep
2011
5 Sep
'11
22:34
On Tuesday 06 September 2011, Tejas Guruswamy wrote:
On 05/09/11 22:52, Rüdiger Meier wrote:
%install %if %{?make_install:1} %{make_install} %else make install DESTDIR=%{?buildroot} %endif
You can compress this to
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
Thx, good to know. My bloated version was because I'd just read the rpm book to do my first "ifdef macro" :)
or even %{?make_install} %{!?make_install:%makeinstall}
This is bad because it was the broken %makeinstall (missing docdir) why we are talking here at all. ;) cu, Rudi -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org