##// END OF EJS Templates
dirstate: remove the python-side whitelist of allowed matchers...
dirstate: remove the python-side whitelist of allowed matchers This whitelist is too permissive because it allows matchers that contain disallowed ones deep inside, for example through `intersectionmatcher`. It is also too restrictive because it doesn't pass through some of the matchers we support, such as `patternmatcher`. It's also unnecessary because unsupported matchers raise `FallbackError` and we fall back anyway. Making this change makes more of the tests use rust code path, and therefore subtly change behavior. For example, rust status in largefiles repos seems to have strange behavior.

File last commit:

r47573:dc101c23 default
r52519:865efc02 default
Show More
Makefile
55 lines | 1.4 KiB | text/x-makefile | MakefileLexer
Augie Fackler
cleanup: update references to /help/ that should now be /helptext/...
r44135 SOURCES=$(notdir $(wildcard ../mercurial/helptext/*.[0-9].txt))
Bryan O'Sullivan
Move hgrc documentation out to its own man page, hgrc(5)....
r671 MAN=$(SOURCES:%.txt=%)
HTML=$(SOURCES:%.txt=%.html)
Martin Geisler
doc/Makefile: docs now also depend on extensions...
r12921 GENDOC=gendoc.py ../mercurial/commands.py ../mercurial/help.py \
Augie Fackler
cleanup: update references to /help/ that should now be /helptext/...
r44135 ../mercurial/helptext/*.txt ../hgext/*.py ../hgext/*/__init__.py
wilde@trapperkeeper.sha-bang.de
Added install target.
r2233 PREFIX=/usr/local
Jonathan Smith <https://issues.rpath.com/>
install man pages by default into $(PREFIX)/share/man not $(PREFIX)/man since the FHS puts them there
r4030 MANDIR=$(PREFIX)/share/man
Matt Harbison
make: drop the `-c` arg to `install` in the documentation makefile...
r45215 INSTALL=install -m 644
Martin von Zweigbergk
makefile: use Python 3 by default when building docs as well...
r47573 # Default to Python 3.
#
# Windows ships Python 3 as `python.exe`, which may not be on PATH. py.exe is.
ifeq ($(OS),Windows_NT)
PYTHON?=py -3
else
PYTHON?=python3
endif
Nicolas Dumazet
runrst: add RSTARGS Makefile variable to allow customization...
r13054 RSTARGS=
mpm@selenic.com
Add a doc makefile...
r465
Takumi IINO
doc: make i18n man and html...
r19427 export HGENCODING=UTF-8
Martin Geisler
doc/Makefile: ensure C locale...
r9971
Thomas Arendsen Hein
Generate html documentation by default, too.
r1006 all: man html
mpm@selenic.com
Add a doc makefile...
r465
man: $(MAN)
html: $(HTML)
Gregory Szorc
setup: define build_doc command...
r42016 # This logic is duplicated in setup.py:hgbuilddoc()
Takumi IINO
doc: make man and html from translated documents...
r19426 common.txt $(SOURCES) $(SOURCES:%.txt=%.gendoc.txt): $(GENDOC)
muxator
build: make install in "/doc" failed if the destination dir contained spaces...
r34623 ${PYTHON} gendoc.py "$(basename $@)" > $@.tmp
Martin Geisler
doc/Makefile: do not create files in case of errors...
r9444 mv $@.tmp $@
Benoit Boissinot
generate hg manpage from commands.py docstring...
r1814
Takumi IINO
doc: make man and html from translated documents...
r19426 %: %.txt %.gendoc.txt common.txt
Nicolas Dumazet
runrst: add RSTARGS Makefile variable to allow customization...
r13054 $(PYTHON) runrst hgmanpage $(RSTARGS) --halt warning \
Martin Geisler
doc/Makefile: make rst2html and rst2man halt on warnings
r9445 --strip-elements-with-class htmlonly $*.txt $*
mpm@selenic.com
Add a doc makefile...
r465
Takumi IINO
doc: make man and html from translated documents...
r19426 %.html: %.txt %.gendoc.txt common.txt
Nicolas Dumazet
runrst: add RSTARGS Makefile variable to allow customization...
r13054 $(PYTHON) runrst html $(RSTARGS) --halt warning \
Martin Geisler
doc: add a style sheet to the generated HTML pages
r9626 --link-stylesheet --stylesheet-path style.css $*.txt $*.html
mpm@selenic.com
Add a doc makefile...
r465
Benoit Boissinot
fix MANIFEST generation
r3872 MANIFEST: man html
Mads Kiilerich
doc/Makefile: Don't show Makefile comments in output...
r9401 # tracked files are already in the main MANIFEST
Benoit Boissinot
fix MANIFEST generation
r3872 $(RM) $@
Martin Geisler
doc/Makefile: do not include hg.1.gendoc.txt in MANIFEST...
r12841 for i in $(MAN) $(HTML); do \
Benoit Boissinot
fix MANIFEST generation
r3872 echo "doc/$$i" >> $@ ; \
done
wilde@trapperkeeper.sha-bang.de
Added install target.
r2233 install: man
for i in $(MAN) ; do \
Cédric Duval
doc: fix regexp for determining the man page section...
r8822 subdir=`echo $$i | sed -n 's/^.*\.\([0-9]\)$$/man\1/p'` ; \
muxator
build: make install in "/doc" failed if the destination dir contained spaces...
r34623 mkdir -p "$(DESTDIR)$(MANDIR)"/$$subdir ; \
$(INSTALL) $$i "$(DESTDIR)$(MANDIR)"/$$subdir ; \
wilde@trapperkeeper.sha-bang.de
Added install target.
r2233 done
mpm@selenic.com
Add a doc makefile...
r465 clean:
Takumi IINO
doc: make man and html from translated documents...
r19426 $(RM) $(MAN) $(HTML) common.txt $(SOURCES) $(SOURCES:%.txt=%.gendoc.txt) MANIFEST