git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 4/4] split core-git.txt and update

From
David Greaves <david@dgreaves.com>
Date
May 10, 2005, 21:32 UTC
Message-ID
<E1DVcLH-0004jr-44@ash.dgreaves.com>
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 $<



!-------------------------------------------------------------flip-
Message 1 of 1 in “split core-git.txt and update”
  1. 4/4 split core-git.txt and updateDavid Greaves, May 10, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.