Internal make command Macro to identify linux/os distribution.

2008-09-09 Thread Gautam Shejwalkar
Hi, Is there any internal command or macro available to identify on which Linux distribution the make is running. I know one way of finding is to run 'unake -r' and then compare it with the know string. But if there is any better way or solution which make provides it will great. Thanks

RE: Internal make command Macro to identify linux/os distribution.

2008-09-09 Thread Dave Korn
Gautam Shejwalkar wrote on 09 September 2008 08:52: Hi, Is there any internal command or macro available to identify on which Linux distribution the make is running. I know one way of finding is to run 'unake -r' and then compare it with the know string. But if there is any better way or

Re: Internal make command Macro to identify linux/os distribution.

2008-09-09 Thread Gautam Shejwalkar
Hi Dave, Thank you for your quick reply. Yes, I was referring to the distro. Actually based on the distro I want to decide which rpm package needs to be installed. B'coz only in uname -r we get the information on the distro. I am not sure if there are any other commands available for checking

Re: Internal make command Macro to identify linux/os distribution.

2008-09-09 Thread Paul Smith
On Tue, 2008-09-09 at 16:18 +0530, Gautam Shejwalkar wrote: Yes, I was referring to the distro. Actually based on the distro I want to decide which rpm package needs to be installed. B'coz only in uname -r we get the information on the distro. I am not sure if there are any other commands

Re: Internal make command Macro to identify linux/os distribution.

2008-09-09 Thread Gautam Shejwalkar
Hi Paul, Thank you for the reply. The information which you have provided is exactly what I was looking for. This will help me resolve my problem. Regards, -Gautam On Tue, Sep 9, 2008 at 5:27 PM, Paul Smith [EMAIL PROTECTED] wrote: On Tue, 2008-09-09 at 16:18 +0530, Gautam Shejwalkar wrote:

Re: Internal make command Macro to identify linux/os distribution.

2008-09-09 Thread Martin Sebor
Gautam Shejwalkar wrote: Hi Dave, Thank you for your quick reply. Yes, I was referring to the distro. Actually based on the distro I want to decide which rpm package needs to be installed. B'coz only in uname -r we get the information on the distro. I am not sure if there are any other