3 # Uncomment this to turn on verbose mode.
7 PYTHON=PYTHONOPTIMIZE=2 python
12 # Add here commands to compile the package.
13 mkdir -p $(CURDIR)/po/ru/
14 msgfmt $(CURDIR)/po/ru.po -o $(CURDIR)/po/ru/$(PACKAGE).mo
15 $(PYTHON) setup.py build
21 rm -rf $(CURDIR)/po/ru
23 # Add here commands to clean up after the build process.
24 $(PYTHON) setup.py clean --all
26 rm -rf $(CURDIR)/$(PACKAGE).egg-info/
35 # Add here commands to install the package into debian/findit
36 $(PYTHON) setup.py install --root $(CURDIR)/debian/$(PACKAGE)
38 # Build architecture-independent files here.
39 binary-indep: build install
52 # Build architecture-dependent files here.
53 binary-arch: build install
55 binary: binary-indep binary-arch
57 .PHONY: build clean binary-indep binary-arch binary install