Package: make
Version: 3.81-8.2
Severity: normal
Tags: upstream

make ignores it when an undefined function is used in a makefile, and
just substitutes the empty string for the function call.  Instead, it
really, really should fail and report a faulty makefile.  Especially
because there are no user-defined functions so this unfriendly behavior
doesn't even buy anything in flexibility.

I have just spent an hour or so debugging a 20 line makefile.  I used
the dirname function in one of my rules, only I forgot that for make it
is spelled just $(dir ...) and not ($dirname ...) .  I was at the point
of throwing something at my computer, and I'm exaggerating only a tiny
little bit.

-- System Information:
Debian Release: 7.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10.63.3 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages make depends on:
ii  libc6  2.13-38+deb7u6

make recommends no packages.

Versions of packages make suggests:
pn  make-doc  <none>

-- 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