* automake.in (handle_single_transform): Preserve directories in direct suffix rules. * tests/suffix12.test: New test. * tests/Makefile.am (TESTS): Add it. Report from John Ratliff.