Quite a while ago, I started using

./configure INSTALL="`which install` -C" ...

on (I think) Paul's recommendation.  So far on OSX this has worked
just fine: if you touch a random .C file and run 'make install', the
timestamps on all the headers in the install directory remain
unchanged.

But, for some reason, this same approach doesn't seem to work on
Linux.  Every time I run make install, the timestamp of
libmesh_config.h is updated, and it forces me to recompile basically
every file in my app, which is very annoying.

After running 'make' but before running 'make install', I've verified that

diff include/libmesh_config.h ${LIBMESH_DIR}/include/libmesh/libmesh_config.h

reports no differences.  I also don't think it's the install command
itself, since I can run

/usr/bin/install -C --mode=644 include/libmesh_config.h
${LIBMESH_DIR}/include/libmesh/libmesh_config.h

manually, and the file's timestamp is not updated.  But as soon as I
run make install, it is.

Any ideas?

-- 
John

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to