[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src

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

echo "bonjour" >$@

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