Page 1 of 1

Automake

Posted: Wed May 13, 2009 8:55 am
by Solar
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.

Re: Automake

Posted: Wed May 13, 2009 9:21 am
by xyjamepa
Hi,

Well,try this tutorial
Also wikipedia always do the job.
Take a look at this tutorial
last one.

hope they help.

Re: Automake

Posted: Thu May 14, 2009 1:03 am
by xenos
Maybe this could also be helpful... Automake already has some features for generating test suites.