{"thread":{"id":"693","subject":"[PATCH 1/5] Docs - Makefile update","startedAt":"2005-05-22T17:44:15Z","lastAt":"2005-05-22T17:44:15Z","messageCount":1,"participants":["David Greaves"],"isPatch":true,"patchVersion":1,"patchTotal":5},"messages":[{"id":"3761","messageId":"E1DZuUp-0008AH-Li@ash.dgreaves.com","threadId":"693","inReplyTo":null,"subject":"[PATCH 1/5] Docs - Makefile update","fromName":"David Greaves","fromEmail":"david@dgreaves.com","sentAt":"2005-05-22T17:44:15Z","receivedAt":"2005-05-22T17:44:15Z","isPatch":true,"sender":{"key":"david@dgreaves.com","avatar":"https://gravatar.com/avatar/ca67bad50999edcdd137c9a65da2381557d175bea99ae956afdabc5785e42b79?d=mp&s=160"},"body":"A Makefile that works just fine when the 6 character patch is applied\nto asciidoc\n\nSigned-off-by: David Greaves <david@dgreaves.com>\n\n---\ncommit 4a137fb4f4d7e04ae0fb72b3f4910dc487f39c8a\ntree 72336a9478877b0708833f0e61cfd27574f24417\nparent e002a16ba54096666c2d1768daa122e29fba11ee\nauthor David Greaves <david@dgreaves.com> Sat, 21 May 2005 21:15:18 +0100\ncommitter David Greaves <david@dgreaves.com> Sat, 21 May 2005 21:15:18 +0100\n\n Documentation/Makefile |   28 +++++++++++++++++++++-------\n 1 files changed, 21 insertions(+), 7 deletions(-)\n\nIndex: Documentation/Makefile\n===================================================================\n--- 58741c69570705801db4b785681790d636475695/Documentation/Makefile  (mode:100644)\n+++ 72336a9478877b0708833f0e61cfd27574f24417/Documentation/Makefile  (mode:100644)\n@@ -1,12 +1,28 @@\n-DOC_SRC=$(wildcard git*.txt)\n-DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))\n-DOC_MAN=$(patsubst %.txt,%.1,$(wildcard git-*.txt)) git.7\n+MAN1_TXT=$(wildcard git-*.txt)\n+MAN7_TXT=git.txt\n \n-all: $(DOC_HTML) $(DOC_MAN)\n+DOC_HTML=$(patsubst %.txt,%.html,$(MAN1_TXT) $(MAN7_TXT))\n+\n+DOC_MAN1=$(patsubst %.txt,%.1,$(MAN1_TXT))\n+DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT))\n+\n+#\n+# Please note that there is a minor bug in asciidoc.\n+# The version after 6.0.3 _will_ include the patch found here:\n+#   http://marc.theaimsgroup.com/?l=git&m=111558757202243&w=2\n+#\n+# Until that version is released you may have to apply the patch\n+# yourself - yes, all 6 characters of it!\n+#\n+\n+all: html man\n \n html: $(DOC_HTML)\n \n-man: $(DOC_MAN)\n+\n+man: man1 man7\n+man1: $(DOC_MAN1)\n+man7: $(DOC_MAN7)\n \n # 'include' dependencies\n git-diff-%.txt: diff-format.txt\n@@ -20,8 +36,6 @@\n \n %.1 %.7 : %.xml\n \txmlto man $<\n-\t# FIXME: this next line works around an output filename bug in asciidoc 6.0.3\n-\t[ \"$@\" = \"git.7\" ] || mv git.1 $@\n \n %.xml : %.txt\n \tasciidoc -b docbook -d manpage $<\n"}]}