On Wed, 25 Feb 2009 23:00:37 +0100 Christoph Wickert <christoph.wickert@xxxxxxxxxxxxxx> wrote: > I'm failing to build emelfm2 with gcc-4.3.2 when setting DOCS_VERSION=1: > > > + make -j3 'OPTIMIZE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 > > -march=i386 -mtune=generic -fasynchronous-unwind-tables' 'CFLAGS=-O2 > > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > > --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic > > -fasynchronous-unwind-tables' PREFIX=/usr DOCS_VERSION=1 > > WITH_TRANSPARENCY=1 WITH_KERNELFAM=1 USE_LATEST=1 NEW_COMMAND=1 > > WITH_ACL=1 > > creating object directories in 'objs' > > Makefile:51: *** Recursive variable `DOC_DIR' references itself > > (eventually). Stop. > > When I remove the DOCS_VERSION the build is ok, but of course the docs > end up in the wrong folders. Amending Makefile like this (lines between ifeq .. and endif are new) ifeq ($(DOCS_VERSION), 1) # cannot use just +=, that inserts a space TMP:=$(DOC_DIR)-$(VERSION) DOC_DIR:=$(TMP) endif seems to work. Regards Tom -- Users can unsubscribe from the list by sending email to emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by logging into the web interface.