Ralf Wildenhues wrote:
* Russell Shaw wrote on Sun, Mar 21, 2010 at 09:26:44AM CET:
Ralf Wildenhues wrote:
* Russell Shaw wrote on Sun, Mar 21, 2010 at 07:06:00AM CET:
bin_PROGRAMS = unimain
unimain_SOURCES = unimain.c
unidata.tab.c: unimain$(EXEEXT) /usr/share/unicode/UnicodeData.txt
./unimain$(EXEEXT) $< > $@
Ok, that works thanks:)
However, "make install" installs unimain into /usr/local/bin
How do i stop this program from being installed?
Use noinst_PROGRAMS instead of bin_PROGRAMS. Be encouraged to read the
fine manual.
But it is somewhat big, and i had already searched through the online
one a lot first. It is no wonder it takes noobs so long to get productive.
BTW, execution of built programs like this makes your package unsuitable
for cross-compilation. Just so you're aware of that.
Ok. I assume then that you can't build the tool for the host system while
the generated files are compiled for the target system?