On 01/07/2013 12:57 PM, Alan W. Irwin wrote:
> To Andrew and Orion:
>
> One of my testers for ephcom is David Howells who works as a developer
> for RedHat. He found that rpm's for ephcom that he implemented could
> not be built without using DESTDIR for all install(CODE logic in the
> ephcom build system. For example ephcom's doc/CMakeLists.txt file now
> has this code fragment (which was originally copied without DESTDIR
> from doc/CMakeLists.txt in PLplot).
>
> doc/CMakeLists.txt: install(CODE "message(STATUS \"Installing:
> ${DOC_DIR}/doxygen/html tree\")\nexecute_process(COMMAND
> ${CMAKE_COMMAND} -E copy_directory
> ${CMAKE_CURRENT_BINARY_DIR}/doxygen/html
> ${DESTDIR}${CMAKE_INSTALL_DOCDIR}/doxygen/html)")
>
> Do you agree that DESTDIR should also be used in the equivalent PLplot
> file? How have you guys been getting around this potential issue
> for Debian and Fedora packaging of PLplot?
I really don't think you ever want to specify ${DESTDIR} in *any* cmake
scripts. cmake will automatically do the right things behind the scenes
to handle DESTDIR.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane [email protected]
Boulder, CO 80301 http://www.cora.nwra.com
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel