diff --git a/Makefile.am b/Makefile.am index 6a45d725..e176c96c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,8 +19,8 @@ SUBDIRS = macros src $(PLUGINS) $(SERVERTEST) ## to automatically rebuild aclocal.m4 if any of the macros in ## `macros/' change -@MAINT@include macros/macros.dep -@MAINT@macros/macros.dep: macros/Makefile.am +@MAINT@include $(srcdir)/macros/macros.dep +@MAINT@$(srcdir)macros/macros.dep: $(srcdir)/macros/Makefile.am @MAINT@ cd macros && $(MAKE) macros.dep if HAVE_GNOME