Package: make
Version: 3.81-8.2
Followup-For: Bug #614916

The following workaround works:
--------------------------------------------------------------------------

all: build

ifeq ($(MAKE_RESTARTS),)
Makefile.foo: FORCE
FORCE:
endif

build:
        @echo "running build at $$(date)"

Makefile.foo:       
        @echo "updating Makefile.foo at $$(date)"
        @echo "build: date\ndate:\n\t@echo Makefile.foo generated at $$(date)" 
>Makefile.foo

-include Makefile.foo

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

The check for MAKE_RESTARTS prevents the infinite loop otherwise encountered.

MfG
        Goswin

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages make depends on:
ii  libc6  2.13-34

make recommends no packages.

Versions of packages make suggests:
ii  make-doc  3.81-5.1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to