LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-27-2009, 08:54 AM   #1
paulmeacham
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
coping or moving files to my pc using putty micro_xii Linux - Newbie 3 05-21-2007 02:00 AM
Which is the kernel build directory? I Can't find kernel build files crabsody Debian 7 01-09-2007 04:48 AM
Automake: problems with a project with source files distributed in a directory tree pietrom Programming 4 04-14-2006 08:04 AM
Permission Denied while coping files busaussie Linux - General 5 01-05-2006 11:26 AM
coping neccesary python files to chroot area dominant Linux - Security 6 12-17-2004 03:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration