Makefile: provide CHMOD customization, use it for cleantest
commitbb3dca06a5308cba894a647d814952fb336c0902
authorAchim Gratz <Stromeko@Stromeko.DE>
Sun, 14 Feb 2016 11:44:56 +0000 (14 12:44 +0100)
committerAchim Gratz <Stromeko@Stromeko.DE>
Sun, 14 Feb 2016 11:44:56 +0000 (14 12:44 +0100)
treef8650826a8a086eb08278c3d40ea6879241854cc
parenta4cfd3343a83b5b8cd2dfe5ac83b8f9a02b837a7
Makefile: provide CHMOD customization, use it for cleantest

* mk/default.mk (CHMOD): Addtional customization variable for
  chmod (change file permissions).  Explain why we need it for
  git-annex.

* mk/targets.mk (cleantest): If the plain $(RMR) fails, try to make
  directories writable recursively and retry the $(RMR).
  (cleanall, $(CLEANDIRS:%=clean%)): Use "+" instead of ";" to reduce
  the number of execs.
mk/default.mk
mk/targets.mk