fix build-system wrt lua things.
authorPierre Habouzit <madcoder@debian.org>
Sun, 18 Mar 2007 12:26:10 +0000 (13:26 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sun, 18 Mar 2007 12:26:10 +0000 (13:26 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Makefile.am
lib-lua/.gitignore

index 371b877..cc992ac 100644 (file)
@@ -9,7 +9,7 @@ NNTP_SUBDIR = nntp
 endif
 
 SUBDIRS = intl m4 po $(XXXXXXXXXXXX_doc) apidoc contrib \
-         lib-mime lib-lib lib-lua lib-mx lib-crypt lib-hash lib-sys lib-ui \
+         lib-lua lib-mime lib-lib lib-mx lib-crypt lib-hash lib-sys lib-ui \
          pop imap $(NNTP_SUBDIR)
 
 BUILT_SOURCES = keymap_defs.h charset.gperf
@@ -37,7 +37,9 @@ madmutt_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
                $(top_builddir)/lib-lib/liblib.a \
                $(MUTTLIBS) $(INTLLIBS) $(LIBICONV)
 
-madmutt_DEPENDENCIES = @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
+madmutt_DEPENDENCIES = $(top_builddir)/lib-lua/madmutt.h \
+                      $(top_builddir)/lib-lua/lua-token.h \
+                      @MUTT_LIB_OBJECTS@ @LIBOBJS@ \
                       $(top_builddir)/lib-lib/liblib.a \
                       $(top_builddir)/lib-mime/libmime.a \
                       $(top_builddir)/lib-crypt/libcrypt.a \
@@ -145,7 +147,6 @@ stamp-doc-rc: $(srcdir)/init.h makedoc Madmuttrc.head
                $(srcdir)/init.h | ./makedoc -c | cat Madmuttrc.head - > Madmuttrc
        touch $@
 
-
 -include cflags.mk
 
 wc:
index 84af223..2fc4ed7 100644 (file)
@@ -1 +1,2 @@
 lua-token.[hc]
+madmutt.[hc]