Staging
v0.8.1
https://foss.heptapod.net/mercurial/hgview
Revision 383a4146e7e6159b8badedc8271908ce30d28456 authored by David Douard on 03 June 2009, 22:10:48 UTC, committed by David Douard on 03 June 2009, 22:10:48 UTC
- the find has been extracted from the main window code into a new quickbar, in relation with the HgFileView widget
- some methods have been moved to hggraph.Graph
- the HgFileView is now used in the file log navigator (and it takes advantage of the find function)
- HgDialogMixin has been extracte in its own module
1 parent f7b0253
Raw File
Tip revision: 383a4146e7e6159b8badedc8271908ce30d28456 authored by David Douard on 03 June 2009, 22:10:48 UTC
Major refactoring of the find function (and more refactors):
Tip revision: 383a414
Makefile
SOURCES=$(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 $*.txt

%.html: %.txt
	asciidoc -b html4 $*.txt || asciidoc -b html $*.txt

install: man
	for i in $(MAN) ; do \
	  subdir=`echo $$i | sed -n 's/..*\.\([0-9]\)$$/man\1/p'` ; \
	  mkdir -p $(MANDIR)/$$subdir ; \
	  $(INSTALL) $$i $(MANDIR)/$$subdir ; \
	done

clean:
	$(RM) $(MAN) $(MAN:%=%.xml) $(MAN:%=%.html)
back to top