Git development
 help / color / mirror / Atom feed
* [PATCH 4/4] split core-git.txt and update
@ 2005-05-10 21:32 David Greaves
  0 siblings, 0 replies; only message in thread
From: David Greaves @ 2005-05-10 21:32 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: GIT Mailing Lists

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-



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-10 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-10 21:32 [PATCH 4/4] split core-git.txt and update David Greaves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox