Automake
Posted: Wed May 13, 2009 8:55 am
While I think I got Makefiles more or less covered, I'm helpless when it comes to Automake or Autoconf, so I hope someone here has more knowledge than me in that area.
The Problem:
A project based on automake / autoconf doesn't really have a test suite. I added one in a subdirectory ./tests, together with a (static) Makefile.tu. Now, I'd like the test suite to be available through a top-level "make tests" (the target "tests" does not yet exist, I checked).
The problem is that the top-level Makefile is generated by Automake from a Makefile.am, and I have positively no idea how to add a target to that, and would prefer not having to read the whole Automake docs...
I welcome anything, from "do this" to "read that tutorial"... thanks in advance.
The Problem:
A project based on automake / autoconf doesn't really have a test suite. I added one in a subdirectory ./tests, together with a (static) Makefile.tu. Now, I'd like the test suite to be available through a top-level "make tests" (the target "tests" does not yet exist, I checked).
The problem is that the top-level Makefile is generated by Automake from a Makefile.am, and I have positively no idea how to add a target to that, and would prefer not having to read the whole Automake docs...
I welcome anything, from "do this" to "read that tutorial"... thanks in advance.