Source

buglink / Makefile

Full commit
# Override this as necessary
HGDIR=../hg
RUNTESTS=run-tests.py
WITHHG=--with-hg ../$(HGDIR)/hg
TESTFLAGS=

.PHONY: tests
tests:
	cd tests && ./$(RUNTESTS) $(WITHHG) $(TESTFLAGS) *.t

test-%:
	cd tests && ./$(RUNTESTS) $(WITHHG) $(TESTFLAGS) $@

.PHONY: hg-tests
hg-tests:
	cd $(HGDIR)/tests && $(PWD)/tests/$(RUNTESTS) $(TESTFLAGS) \
	   --with-hg ../hg \
	   --extra-config extensions.buglink=$(PWD)/client \
	   --blacklist=$(PWD)/tests/blacklist.txt
.PHONY: docs
docs:
	make -C docs html

.PHONY: clean
clean:
	rm -f $$(hg status --no-status --ignore)