[PATCH 4/4] split core-git.txt and update
From: David Greaves <hidden>
Date: 2016-06-15 22:41:56
Makefile for html and man Signed-off-by: David Greaves <redacted> --- commit 9b651818abae168f7e0dbfafda81c9a4298ea410 tree 4e3b4488b60547a6c90e8aefebb1befea26e0402 parent 6cec96ce19223f1852a12632ad44007822e2a3de author David Greaves [off-list ref] Tue, 10 May 2005 22:20:25 +0100 committer David Greaves [off-list ref] 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-