2011/6/7 Jordi Gutiérrez Hermoso <jord...@octave.org>: > I have a Python script $program that should be installed under bin/, > but it needs a lot of data that should be installed under > share/$program/. I would like for the install Makefile target to > somehow modify $program to let it know the absolute pathname of where > the data share/$program/ is, including perhaps any $DESTDIR. How > should I make my program aware of where the data was installed?
To answer my own question and for the benefit of anyone else who might have been interested, configure_file() is the CMake command I was looking for. - Jordi G. H. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake