Results 1 to 2 of 2
hi all
i would like to write some code in make script( in gtk make file, linux script).
i am including libgtkembedmoz.so and libxpcom.so to the make file....
there i ...
- 08-02-2007 #1Linux Newbie
- Join Date
- Feb 2007
- Location
- hyderabad, india
- Posts
- 247
linux script
hi all
i would like to write some code in make script( in gtk make file, linux script).
i am including libgtkembedmoz.so and libxpcom.so to the make file....
there i have to write the condition ... that have to check, whether the mozilla installed or not ....
if it is installed
then do this
here am storing the mozilla-version in mozlib.Code:k=" " k=`rpm -ql mozilla | grep /usr/lib/mozilla- | tail -1 | cut -d/ -f4` path=`whereis -SBM $(k) | cut -d" " -f2 ` mozlib := $(shell $(path))
else
it have to check mozilla-seamonkey is there or not..
if it is installed
then do this
here am storing the mozilla-seamonkey-version in mozlib.Code:k=" " k=`rpm -ql seamonkey | grep /usr/lib/mozilla-seamonkey | tail -1 | cut -d/ -f4` path=`whereis -SBM $(k) | cut -d" " -f2 ` mozlib := $(shell $(path))
else
it have to check firefox is there or not
if it is installed
then do this
here am storing the firefox-version in mozlib.Code:k=" " k=`rpm -ql firefox | grep /usr/lib/firefox | tail -1 | cut -d/ -f4` path=`whereis -SBM $(k) | cut -d" " -f2 ` mozlib := $(shell $(path))
is it possible to write in make file using linux script...
please help me
thank you in advance"Relationships are built on trust and communication"
- 08-03-2007 #2Just Joined!
- Join Date
- Apr 2007
- Posts
- 59
Why do want to use Makefile when script serves your purpose.


Reply With Quote