##// END OF EJS Templates
fix 'convert' with single commit repositories...
fix 'convert' with single commit repositories The attached patch passes the three 'convert' testcases, and also is able to successfully convert the git.git repository.

File last commit:

r1500:cadde8eb default
r4719:1069205a default
Show More
Makefile
21 lines | 350 B | text/x-makefile | MakefileLexer
SOURCES=$(wildcard *.[0-9].ja.txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)
all: man html
man: $(MAN)
html: $(HTML)
%: %.xml
xmlto -x docbook.ja.xsl man $*.xml
%.xml: %.txt
-asciidoc -d manpage -b docbook -f docbook.ja.conf $*.txt
%.html: %.txt
asciidoc -b html4 $*.txt
clean:
$(RM) $(MAN:%.ja=%) $(MAN:%=%.xml) $(MAN:%=%.html)