|
From: | Russell Shaw |
Subject: | Re: Building prog first |
Date: | Sun, 21 Mar 2010 21:18:03 +1100 |
User-agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20091109) |
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.cunidata.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?
[Prev in Thread] | Current Thread | [Next in Thread] |