Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (28 sloc) 0.756 kb
prefix ?= $(HOME)
DESTDIR ?= /
PYTHON ?= python
all:
$(PYTHON) setup.py build
install:
$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) --force
cd $(DESTDIR)$(prefix)/bin && rm -f cola && ln -s git-cola cola
doc:
cd doc && $(MAKE) all
install-doc:
$(MAKE) -C doc install
install-html:
$(MAKE) -C doc install-html
test:
cd t && $(MAKE) all
clean:
for dir in doc t; do \
(cd $$dir && $(MAKE) clean); \
done
find cola -name '*.py[co]' -print0 | xargs -0 rm -f
find cola/views -name '[^_]*.py' -print0 | xargs -0 rm -f
find share -name '*.qm' -print0 | xargs -0 rm -f
rm -rf build tmp
rm -f tags
tags:
ctags -R cola/*.py cola/views/*.py cola/controllers/*.py
.PHONY: all install doc install-doc install-html test clean
Jump to Line
Something went wrong with that request. Please try again.