Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automake not generating Makefile.in in subdirs

First off I just want to say, I'm a total newb at Autotools.

I have a project with the following structure:

+-src
  +-commands
    Makefile.am
    +-copy
      Makefile.am
      copy.h
      copy.cpp
    +-delete
      Makefile.am
      delete.h
      delete.cpp
  main.cpp
  Makefile.am
Makefile.am

Makefile.am has SUBDIRS=src

src/Makefile.am has SUBDIRS=commands .

src/commands/Makefile.am has SUBDIRS=$(AUTODIRS)

When I run automake in the root, it generates Makefile.in and src/Makefile.in, but not in commands and copy.

What am I doing wrong?

like image 722
Sam Washburn Avatar asked Jan 11 '14 03:01

Sam Washburn


1 Answers

Make sure your configure.ac mentions all the Makefiles in AC_CONFIG_FILES.

like image 152
Tom Tromey Avatar answered Nov 10 '22 06:11

Tom Tromey