[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: %if



On December 16, 2006 10:04:01 PM +0100 "Marcus Habermehl (BMH1980)" <bmh1980de yahoo de> wrote:

%ifdef %{prefix}
    %_prefix            %{prefix}
%else
    %_prefix            /usr
%endif

This is only for testing purpose. If this is working, I want to add
macros for sysconfdir and localstatedir depending on the prefix/_prefix
macro.

I have searched in the whole max-rpm book and I have readed some spec
files from SuSE. As I'm understandig it, my code is right.

But it isn't working. So I'm thinking it isn't right. Can you help me?

Please quote any URL, page#, or spec file where you see '%ifdef' used or
documented.  You're probably trying to use a SuSE-specific macro on a
non-SuSE system.

-frank


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]