~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Marc Tardif
  • Date: 2012-03-22 02:37:05 UTC
  • Revision ID: marc.tardif@canonical.com-20120322023705-fwd2tbv1n41i1w75
Fixed Makefile for building packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
PYTHON = python
2
 
CURDIR := $(shell pwd)
 
1
PYTHON ?= python
 
2
CURDIR ?= $(shell pwd)
 
3
DESTDIR ?= /
3
4
LPRESULTS_CONFIG ?= default
4
5
 
5
6
PY = $(CURDIR)/bin/py
203
204
install:
204
205
        $(PYTHON) setup.py install \
205
206
                $(PYTHON_INSTALL_ARGS) \
206
 
                --root=/
 
207
                --root=$(DESTDIR)
207
208
 
208
209
setup: build-depends build createdb syncdb createstorage
209
210