Fix the 'distclean' target.
authorRalph Giles <giles@mozilla.com>
Sat, 3 Sep 2011 23:34:51 +0000 (16:34 -0700)
committerRalph Giles <giles@mozilla.com>
Sat, 3 Sep 2011 23:34:51 +0000 (16:34 -0700)
commit858468ee4219ac29d4443b81387bb609fd6247c6
tree48cfe5caf6cd483a2940130dd97d4ee571959d64
parentd099f132fc916d16c1097e7521a069a7bf6838c1
Fix the 'distclean' target.

With subdir-objects, both the top-level makefile, and
libcelt/Makefile, which runs celt-specific unit tests,
were sharing libcelt/.deps for generated dependencies.

Each thought it owned the directory, and so would remove
the files it created in that directory, followed by the
directory itself. The second makefile would then fail to
because the files it created weren't there to remove,
blocking a successful 'make distcheck' with in runs
'make distclean' as part of its verification tests.

We can work around the problem by generating the makefile
for the tests in the actual test directory, so it doesn't
share autotools scratch space with the top level makefile.
Makefile.am
configure.ac
libcelt/Makefile.am [deleted file]
libcelt/tests/Makefile.am [new file with mode: 0644]