diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-11-06 21:15:20 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-11-06 21:15:20 +0000 |
commit | 21f8fd673c0b6267dd6bcfd06e73e7cff03acf5d (patch) | |
tree | 356386c7b3a9241538e57cada96464b7474fe02c /sys | |
parent | 78512124372e6ad11c3956569c3ee56796c27a3d (diff) |
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).
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions