{"thread":{"id":"19488","subject":"[PATCH] Have make fail when $(DOCBOOK2X_TEXI) fails in building gitman.texi","startedAt":"2009-05-24T22:51:05Z","lastAt":"2009-05-24T22:51:05Z","messageCount":1,"participants":["Samuel Bronson"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"114607","messageId":"1243205465-12139-1-git-send-email-naesten@gmail.com","threadId":"19488","inReplyTo":null,"subject":"[PATCH] Have make fail when $(DOCBOOK2X_TEXI) fails in building gitman.texi","fromName":"Samuel Bronson","fromEmail":"naesten@gmail.com","sentAt":"2009-05-24T22:51:05Z","receivedAt":"2009-05-24T22:51:05Z","isPatch":true,"sender":{"key":"naesten@gmail.com","avatar":"https://avatars.githubusercontent.com/u/13903?v=4"},"body":"This is handy for when docbook2x isn't installed. Without this change,\nwe would just build a mostly-empty gitman.texi rather than failing as we\nshould.\n\nSigned-off-by: Samuel Bronson <naesten@gmail.com>\n---\n Documentation/Makefile |    6 ++++--\n 1 files changed, 4 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/Makefile b/Documentation/Makefile\nindex 144ec32..2998f0d 100644\n--- a/Documentation/Makefile\n+++ b/Documentation/Makefile\n@@ -205,9 +205,11 @@ user-manual.pdf: user-manual.xml\n \tmv $@+ $@\n \n gitman.texi: $(MAN_XML) cat-texi.perl\n-\t$(RM) $@+ $@\n+\t$(RM) $@++ $@+ $@\n \t($(foreach xml,$(MAN_XML),$(DOCBOOK2X_TEXI) --encoding=UTF-8 \\\n-\t\t--to-stdout $(xml);)) | $(PERL_PATH) cat-texi.perl $@ >$@+\n+\t\t--to-stdout $(xml);)) >$@++\n+\t$(PERL_PATH) cat-texi.perl $@ <$@++ >$@+\n+\t$(RM) $@++\n \tmv $@+ $@\n \n gitman.info: gitman.texi\n-- \n1.6.3.1\n"}]}