Russell,

On 4/1/2009 4:47 AM, Russell Shaw wrote:
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

<proj>/Makefile.am should contain:

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

Just makesure keysyms is given before src in that list.

Regards,
John


Reply via email to