Hi,

As part of the Mac OS X install I have to create a shell script to put  
the symbolic links into /usr/bin etc.

The installer executes the script after the install.  The script has  
version, release and mod numbers in it.

I created an input script, postflight.in  and added the necessary sed  
commands to the Makefile.am to tailor the script to the current  
environment.  The problem is that where I put it in the Makefile it  
gets executed in the 'make install' phase.  The problem with that is  
that usually 'make install' is usually executed as 'sudo make install'  
and the resulting shell script ends up being owned by root.  Not  
exactly a good idea in my book, having an executable script owned by  
root.

Should I take the sed commands out of the Makefile, and have them  
executed else where, if so where.  Is there a better place in the  
Makefile that I could put this so that the shell script is created  
during the "make all" phase?

I'm open to any suggestions.

Thanks,

Bruce

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to