help-make
[Top][All Lists]
Advanced

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

Regarding running shell script from Makefile


From: gshejin
Subject: Regarding running shell script from Makefile
Date: Fri, 11 May 2007 07:15:48 -0700 (PDT)

Hi ,

I am having a scenerio where in I have to execute a shell script from the
Makefile. If I am exporting the path where the shell script is located in
the PATH variable and then run the make the script get's executed. But if i
am not exporting the path in the shell and then run the make it throws an
error, some thing like this

/bin/sh: line 1: mkproduct: command not found


now the problem is that i do not want to every time export the path of the
scritp in the shell and then run the make. I have tried exporting the path
variable in the Makefile it self , but still i am encountering the error. 

Is there any way to resolve this problem.

Thanks in advance.
-Gautam
-- 
View this message in context: 
http://www.nabble.com/Regarding-running-shell-script-from-Makefile-tf3727692.html#a10432844
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]