This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: change FIXINCL in fixincl.sh


On Thu, May 17, 2001 at 08:34:23AM -0700, Bruce Korb wrote:
> One of my copious spare-time projects is to make the binary
> self sufficient (not requiring the fixincl.sh script) and
> installable so that clients can upgrade their OS and just
> run the include fixer.  Not there yet.  Meanwhile, why would
> you bother moving the directory where the fixincl binary exists?
> If you leave it where it is, you wind up with just the binary
> sitting in the fixinc directory, but so what?  I can't see
> how it is a problem.

A 'make install' doesn't install the fixincl binary nor the directory
it exists in.  Thus, if one is doing a binary distribution, they need
to copy the associated scripts and executables to a suitable location
in the installation tree.  The current code in fixincl.sh requires that
this subdirectory be named "fixinc" which may not be desirable.
Application of the patch allows directory name independence without
affecting paths when building from source.

-- 
-Synk (blc@redhat.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]