LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Automake coping files to build directory (https://www.linuxquestions.org/questions/programming-9/automake-coping-files-to-build-directory-750633/)

paulmeacham 08-27-2009 08:54 AM

Automake coping files to build directory
 
I am using automake to generate Makefiles, using makefile.am as a basis. This is usually more than sufficient for most of my programs, however for a new program, I need a configuration file (*.ini) to be copied from the source directory to the build directory as it is used by the complied program.

If I was directly editing the Makefile.in which is generated from the Makefile.am, I could add in a line with the standard 'cp' command to achieve what I want, but I was wondering if it is possible to add a line to the Makefile.am so it does it instead.

Help is much appreciated!


All times are GMT -5. The time now is 05:28 AM.