Staging
v0.5.1
https://foss.heptapod.net/mercurial/hgview
Revision c54eb2cb4e3092e5e3280b94fe0f676d5cd4be2d authored by David Douard on 04 December 2009, 21:22:51 UTC, committed by David Douard on 04 December 2009, 21:22:51 UTC
- identidy changesets that are MQ patches in the graph using icons,
- identify them also in the revision metadata textview
1 parent 7d77327
Raw File
Tip revision: c54eb2cb4e3092e5e3280b94fe0f676d5cd4be2d authored by David Douard on 04 December 2009, 21:22:51 UTC
Add simple support for mq
Tip revision: c54eb2c
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