Andrew Black wrote:
Greetings all

Attached is a short (2 line) patch to makefile.common that initializes the DEPS variable, with the change log below. This is needed to prevent messages similar to

Thanks. Committed thus:
http://svn.apache.org/viewvc?view=rev&rev=440783

Martin


gmake[1]: Entering directory `/build2/batman/5.0.0/builds/33066275/source-buildspace/build' gmake[2]: Entering directory `/build2/batman/5.0.0/builds/33066275/source-buildspace/build/lib' ../makefile.rules:145: *** Recursive variable `DEPS' references itself (eventually). Stop.

when running the toplevel makefile on a recursive target (such as runall). This was introduced in svn log 440420.

--Andrew Black

Log:
    * makefile.common (DEPS): initialize variable (used in makefile.rules)


------------------------------------------------------------------------

Index: etc/config/makefile.common
===================================================================
--- etc/config/makefile.common  (revision 440724)
+++ etc/config/makefile.common  (working copy)
@@ -115,6 +115,8 @@
 OBJS        += $(patsubst %$(AS_EXT),%.o,$(filter %$(AS_EXT),$(SRCS)))
 OBJS        := $(sort $(OBJS))
+DEPS :=
+
 # message files - text files used to generate a catalog - see gencat(1)
 MSGFILES     = $(filter %.msg,$(ALL_FILES))

Reply via email to