{"thread":{"id":"6770","subject":"[PATCH] Allow setting the path of asciidoc in only one place when creating the documentation","startedAt":"2007-02-11T15:54:40Z","lastAt":"2007-02-11T21:44:34Z","messageCount":2,"participants":["Dotan Barak","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"34168","messageId":"1171209280.20052.5.camel@mtldesk014.lab.mtl.com","threadId":"6770","inReplyTo":null,"subject":"[PATCH] Allow setting the path of asciidoc in only one place when creating the documentation","fromName":"Dotan Barak","fromEmail":"dotanb@dev.mellanox.co.il","sentAt":"2007-02-11T15:54:40Z","receivedAt":"2007-02-11T15:54:40Z","isPatch":true,"sender":{"key":"dotanb@dev.mellanox.co.il","avatar":null},"body":"Allow setting the path of asciidoc in only one place when creating the documentation.\n\nSigned-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>\n\n---\n\nIndex: git-1.5.0.rc4/Documentation/Makefile\n===================================================================\n--- git-1.5.0.rc4.orig/Documentation/Makefile\t2007-02-08 01:05:14.000000000 +0200\n+++ git-1.5.0.rc4/Documentation/Makefile\t2007-02-11 17:37:05.000000000 +0200\n@@ -31,6 +31,7 @@ man1dir=$(mandir)/man1\n man7dir=$(mandir)/man7\n # DESTDIR=\n \n+ASCIIDOC=asciidoc\n INSTALL?=install\n DOC_REF = origin/man\n \n@@ -91,16 +92,16 @@ clean:\n \trm -f $(cmds_txt)\n \n %.html : %.txt\n-\tasciidoc -b xhtml11 -d manpage -f asciidoc.conf $<\n+\t$(ASCIIDOC) -b xhtml11 -d manpage -f asciidoc.conf $<\n \n %.1 %.7 : %.xml\n \txmlto -m callouts.xsl man $<\n \n %.xml : %.txt\n-\tasciidoc -b docbook -d manpage -f asciidoc.conf $<\n+\t$(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf $<\n \n user-manual.xml: user-manual.txt user-manual.conf\n-\tasciidoc -b docbook -d book $<\n+\t$(ASCIIDOC) -b docbook -d book $<\n \n user-manual.html: user-manual.xml\n \txmlto html-nochunks $<\n@@ -108,7 +109,7 @@ user-manual.html: user-manual.xml\n glossary.html : glossary.txt sort_glossary.pl\n \tcat $< | \\\n \tperl sort_glossary.pl | \\\n-\tasciidoc -b xhtml11 - > glossary.html\n+\t$(ASCIIDOC) -b xhtml11 - > glossary.html\n \n howto-index.txt: howto-index.sh $(wildcard howto/*.txt)\n \trm -f $@+ $@\n@@ -116,13 +117,13 @@ howto-index.txt: howto-index.sh $(wildca\n \tmv $@+ $@\n \n $(patsubst %,%.html,$(ARTICLES)) : %.html : %.txt\n-\tasciidoc -b xhtml11 $*.txt\n+\t$(ASCIIDOC) -b xhtml11 $*.txt\n \n WEBDOC_DEST = /pub/software/scm/git/docs\n \n $(patsubst %.txt,%.html,$(wildcard howto/*.txt)): %.html : %.txt\n \trm -f $@+ $@\n-\tsed -e '1,/^$$/d' $< | asciidoc -b xhtml11 - >$@+\n+\tsed -e '1,/^$$/d' $< | $(ASCIIDOC) -b xhtml11 - >$@+\n \tmv $@+ $@\n \n install-webdoc : html\n"},{"id":"34189","messageId":"7vtzxscqt9.fsf@assigned-by-dhcp.cox.net","threadId":"6770","inReplyTo":"1171209280.20052.5.camel@mtldesk014.lab.mtl.com","subject":"Re: [PATCH] Allow setting the path of asciidoc in only one place when creating the documentation","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-02-11T21:44:34Z","receivedAt":"2007-02-11T21:44:34Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}