-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aditya Kher wrote:
> a silly question. How do I source a script inside a Makefile(say for
> setting up the environment etc)?
> source <script> doesnt work.
> 
> Makefile:
> 
> foo:
> <TAB> source ~/.cshrc

Can't you just do?

foo:
    ~/.cshrc

Or if that file is not executable do

foo:
    /bin/sh ~/.cshrc

John.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFwZ/sLphrp73n/hARAljkAJ0ZGN9Ac3PBM6SsKZPkhbHXjs4XKgCgru72
4Nz/gCsRxsOLaT3QZGeDtNc=
=AIip
-----END PGP SIGNATURE-----



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to