From: David Greaves <david@dgreaves.com>
To: Junio C Hamano <junkio@cox.net>
Cc: GIT Mailing Lists <git@vger.kernel.org>
Subject: [PATCH 4/4] split core-git.txt and update
Date: Tue, 10 May 2005 22:32:39 +0100 [thread overview]
Message-ID: <E1DVcLH-0004jr-44@ash.dgreaves.com> (raw)
Makefile for html and man
Signed-off-by: David Greaves <david@dgreaves.com>
---
commit 9b651818abae168f7e0dbfafda81c9a4298ea410
tree 4e3b4488b60547a6c90e8aefebb1befea26e0402
parent 6cec96ce19223f1852a12632ad44007822e2a3de
author David Greaves <david@dgreaves.com> Tue, 10 May 2005 22:20:25 +0100
committer David Greaves <david@dgreaves.com> Tue, 10 May 2005 22:20:25 +0100
Documentation/Makefile | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+)
Index: Documentation/Makefile
===================================================================
--- /dev/null (tree:0b343ac5a1a6f8d6a4cb796c523ef84bf7e7254c)
+++ 4e3b4488b60547a6c90e8aefebb1befea26e0402/Documentation/Makefile (mode:100644)
@@ -0,0 +1,24 @@
+DOC_SRC=$(wildcard git*.txt)
+DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))
+DOC_MAN=$(patsubst %.txt,%.1,$(DOC_SRC))
+
+all: $(DOC_HTML) $(DOC_MAN)
+
+html: $(DOC_HTML)
+
+man: $(DOC_MAN)
+
+git-%: %.c $(LIB_FILE)
+ $(CC) $(CFLAGS) -o $@ $(filter %.c,$^) $(LIBS)
+
+clean:
+ rm -f *.xml *.html *.1
+
+%.html : %.txt
+ asciidoc -b css-embedded -d manpage $<
+
+%.1 : %.xml
+ xmlto man $<
+
+%.xml : %.txt
+ asciidoc -b docbook -d manpage $<
\f
!-------------------------------------------------------------flip-
reply other threads:[~2005-05-10 21:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1DVcLH-0004jr-44@ash.dgreaves.com \
--to=david@dgreaves.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox