[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: call custom automake target and bin files in build tree directory
From: |
Ralf Wildenhues |
Subject: |
Re: call custom automake target and bin files in build tree directory |
Date: |
Sun, 10 Feb 2008 22:28:58 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello,
* db wrote on Sun, Feb 10, 2008 at 09:50:32PM CET:
> Now, I need these folders(priv and misc)/files(dynamically created files
> ending in .script) to be included into some_path directory when "./configure
> --prefix=some_path && make && make install" is issued. Also it would be nice
> to have those folders and files when "make dist" is issued. How to go about
> doing this?
foodir = some_path
dist_foo_DATA = priv/file1 misc/file2
> In my situation, I can only call "make custom" from folder root_app. I need
> a way to get "make custom" into root Makefile.am, so that when you do "make"
> on build tree, you also execute target "custom". Any suggestions?
all-local: custom
> I would like to also see bin files created in ./bin folder when
> "../../configure --cache-file=/dev/null && make" is issued from
> root_app/tmp/build. As of now, I can only get bin files created when I run
> "make install" to install the application. How do you get bin files placed
> into build tree directory with just "make"?
bin_PROGRAMS = bin/prog
bin_prog_SOURCES = prog.c ...
Hope that helps.
Cheers,
Ralf