1 DOC_SRC=$(wildcard git*.txt)
2 DOC_HTML=$(patsubst %.txt,%.html,$(DOC_SRC))
3 DOC_MAN=$(patsubst %.txt,%.1,$(DOC_SRC))
5 all: $(DOC_HTML) $(DOC_MAN)
11 git-%: %.c $(LIB_FILE)
12 $(CC) $(CFLAGS) -o $@ $(filter %.c,$^) $(LIBS)
15 rm -f *.xml *.html *.1
18 asciidoc -b css-embedded -d manpage $<
24 asciidoc -b docbook -d manpage $<