Staging
v0.5.1
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision 3f718d510b0cd67f2915d082bf847421541d341b authored by Pierre-Yves David on 17 January 2013, 18:39:41 UTC, committed by Pierre-Yves David on 17 January 2013, 18:39:41 UTC
It is not maintained
1 parent 21d0b65
Tip revision: 3f718d510b0cd67f2915d082bf847421541d341b authored by Pierre-Yves David on 17 January 2013, 18:39:41 UTC
[qt/graph] dropping stand alone version of graph view
[qt/graph] dropping stand alone version of graph view
Tip revision: 3f718d5
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)
Computing file changes ...