Staging
v0.8.1
v0.8.1
https://foss.heptapod.net/mercurial/hgview
Tip revision: d52361f305487bc212f43729847099d34e102994 authored by Carine Dengler on 11 February 2020, 14:47:07 UTC
scmutil.status] scmutil.status is no longer tuple and new __iter__ method is generator; enclose call to repo.status in list() before attempting to access elements
scmutil.status] scmutil.status is no longer tuple and new __iter__ method is generator; enclose call to repo.status in list() before attempting to access elements
Tip revision: d52361f
Makefile
SOURCES=hgview.1.txt
#$(wildcard *.[0-9].txt)
MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)
PREFIX=/usr/local
MANDIR=$(PREFIX)/man
INSTALL=install -c
all: man html
man: $(MAN)
html: $(HTML)
%: %.xml
xmlto man $*.xml
%.xml: %.txt
asciidoc -d manpage -b docbook -o $@ $<
%.html: %.txt
asciidoc -b html4 -o $@ $< || asciidoc -b html -o $@ $<
install: man
for i in $(MAN) ; do \
subdir=`echo $$i | sed -n 's/..*\.\([0-9]\)$$/man\1/p'` ; \
$(INSTALL) -d $(DESTDIR)$(MANDIR)/$$subdir && \
$(INSTALL) $$i $(DESTDIR)$(MANDIR)/$$subdir ; \
done
clean:
$(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)