threads / patch / 559

patch, 4 partssplit core-git.txt and update

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

## tl;dr

One message between May 10, 2005 and May 10, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

David Greaves· May 10, 2005, 21:32 UTC · lore
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(+)
Show changes to diff +24 −0
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-

← back to recent threads