This patch series is an attempt to cleanup the Makefile of the documentation. It's quie different from v1 mainly because now the .DELETE_ON_ERROR approach is being used as Aevar suggested, however it tries to do the same thing. It does not enable asciidoctor direct man page creation, that's in a separate patch. Felipe Contreras (5): doc: refactor common asciidoc dependencies doc: improve asciidoc dependencies doc: remove unnecessary rm instances doc: simplify Makefile using .DELETE_ON_ERROR doc: avoid using rm directly Documentation/Makefile | 77 ++++++++++++++++-------------------------- 1 file changed, 29 insertions(+), 48 deletions(-) Range-diff against v1: 1: 62d76c126a < -: ---------- doc: standardize asciidoc calls 2: 0677725926 < -: ---------- doc: add an asciidoc helper 3: ca69c75596 < -: ---------- doc: disable asciidoc-helper for asciidoctor 4: f379515577 < -: ---------- doc: simplify the handling of interruptions 5: d2d10b34f3 < -: ---------- doc: remove redundant rm 6: d78e08aa2a < -: ---------- doc: refactor common dependencies 7: 450a79d36f < -: ---------- doc: improve asciidoc dependencies 8: 5be9efaa11 < -: ---------- doc: join xml and man rules -: ---------- > 1: 55b188c8ad doc: refactor common asciidoc dependencies -: ---------- > 2: e69d0a5b89 doc: improve asciidoc dependencies -: ---------- > 3: 4f18675ce9 doc: remove unnecessary rm instances -: ---------- > 4: 935675e070 doc: simplify Makefile using .DELETE_ON_ERROR -: ---------- > 5: b621f3b8e9 doc: avoid using rm directly -- 2.31.1