Convenience programs

2009-04-01 Thread Russell Shaw

Hi,
In /proj/keysyms, i have a Makefile.am and it generates a genkeysyms program
in C.

/proj/src contains a Makefile.am and it generates source files in this
directory using ../keysyms/genkeysyms, then uses these sources in the rest
of the compile.

/proj/src/Makefile.am has:

keysyms.tab.include: ../keysyms/genkeysyms
../keysyms/genkeysyms


make distcheck reports:

  ../keysyms/genkeysyms
  make[3]: ../keysyms/genkeysyms: Command not found


How do i get /proj/keysyms/genkeysyms built first? Do i add(?):

../keysyms/genkeysyms:
make -C ../keysyms




Re: Convenience programs

2009-04-01 Thread Russell Shaw

John Calcote wrote:

Russell,

On 4/1/2009 4:47 AM, Russell Shaw wrote:

...

proj/Makefile.am should contain:

SUBDIRS = ... keysyms ... src ...

Just makesure keysyms is given before src in that list.


Thanks, it works now:)