patch for install-sh to prevent unnecessary copying

Con Hennessy CP.Hennessy at iname.com
Wed Jul 24 23:51:27 BST 2002


Corrected patch is added, and I guess that it should really be on 
kde-common/admin/install-sh ?

CP

On Wednesday 24 July 2002 21:23, Nicolas Goutte wrote:
> As this patch is for the admin directory, please send your corrected path
> also to mailto:kde-core-devel at kde.org
>
> Have a nice day/evening/night!
>
> On Mittwoch, 24. Juli 2002 00:31, Con Hennessy wrote:
> > Hi,
> > 	I'm using Solaris where there is no /usr/bin/install
> > available, therefore the script admin/install-sh is used.
> > However one drawback of this script is that it does not check
> > to see whether the copy it is about to make is unnecessary.
> > The consequence of this is only really seen when you want
> > to do a build of something depending on those header files,
> > when the dependency calculation of "make" sees that time
> > stamp of the header is more recent than that of the
> > file to be compiled, therefore compile the file.
> >
> > This is definitely noticeable when making any slight change
> > to kdelibs and doing a "make install". This means that a
> > make in any other kde module ( e.g. kdebase ), will be
> > *completely* recompiled even though it is not necessary!!!
> >
> > Anyway attached is a patch for kdelibs/admin/install-sh
> > which works for me on a Solaris 8.
> > Obviously this patch(or a corrected version of it) should
> > also be applied to all kde modules.
> >
> > Thanks
> > CP Hennessy
> >
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-diff
Type: text/x-diff
Size: 554 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020724/30a5dc4f/attachment.diff>


More information about the kde-core-devel mailing list