diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-02-08 15:12:32 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-02-08 15:12:32 +0200 |
commit | 3e971154e72c50c666719f74b8b97c3bbff01d4d (patch) | |
tree | ab3a9cf57af43dc4058b53606a3b0f00baba73ed /src | |
parent | 012b7cfb27b593d8b33eea284610feb3e0a7fe9c (diff) | |
download | mailfromd-3e971154e72c50c666719f74b8b97c3bbff01d4d.tar.gz mailfromd-3e971154e72c50c666719f74b8b97c3bbff01d4d.tar.bz2 |
Fix circular dependency in Makefiles.
This fixes 2ef494a7. Make should process the mflib directory
before src, because the latter relies on status.ex being built.
On the other hand, mf sources in mflib have to be linted on
make check. The solution runs as follows: (1) mflib appears in
SUBDIRS before src, and (2) src/Makefile.am runs make lint in
../mflib on make check.
* Makefile.am (SUBDIRS): Restore mflib to its proper place.
* mflib/Makefile.am (check-am): Remove rule.
* src/Makefile.am (check-am): New rule. Run make lint in mflib.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index af404ca5..b4aaff33 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -157,3 +157,7 @@ M4=m4 AM_YFLAGS=-dtv AM_LFLAGS=-dvp + +check-am: + $(MAKE) -C $(top_builddir)/mflib lint + |