distcheck: more resilient against possible failures
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 10 Aug 2012 14:11:04 +0000 (16:11 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 10 Aug 2012 14:38:45 +0000 (16:38 +0200)
commitc1dd6cce90b5ad4f2292ebedfd081a660b8dc5e9
tree5d9f00bcb824b934d6024fe483191ae52734aa30
parent133307b9ee9ac87cbfdcb8d093f192c34d3bd1f8
distcheck: more resilient against possible failures

* lib/am/distdir.am (distcheck): Ensure that a failure in the commands
making the just-extracted source tree read-only cause the recipe to fail.
While at it, save a fork by creating the '_build' and '_inst' subdir
with a single mkdir invocation.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/distdir.am