Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision bf325c204235e7c2adb732e4d273cfc09a5269c5 authored by Alain Leufroy on 18 June 2012, 16:07:00 UTC, committed by Alain Leufroy on 18 June 2012, 16:07:00 UTC
:config: ``maxfilesize`` now accept negative values which means
         that all file are handled (not "file too big" anymore)

:qt: add an action to toggle displaying big files
     in the diff toolbar and in the right click menu on file source area

:tui: add a command ``set-max-file-size`` which allow to change the
      the ``maxfilesize`` config value.
1 parent e0ca971
Raw File
Tip revision: bf325c204235e7c2adb732e4d273cfc09a5269c5 authored by Alain Leufroy on 18 June 2012, 16:07:00 UTC
[tui,qt] Allow overriding ``maxfilesize`` config value in the UIs (closes #20597)
Tip revision: bf325c2
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