[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Marc Espie <espie_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Tue, 6 Nov 2007 14:15:19 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: espie_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2007/11/06 14:15:19
Modified files:
usr.bin/make : suff.c
Log message:
bug-fix: try the empty suffix when we cannot find any transformation, not
when we cannot find any suffix.
This allows Makefiles like:
.SUFFIXES: .in .sh
all: truc.sh
truc.sh.in:
echo "bonjour" >$@
.in:
sed -e 's/a/b/' <$< >$@
to work (before that, the empty suffix would not be tried, since truc.sh
matches the .sh suffix, even though there is NO transformation).
Visit your host, monkey.org