~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Gary Poster
  • Date: 2009-05-01 21:24:04 UTC
  • mto: (8329.1.1 buildout2)
  • mto: This revision was merged to the branch mainline in revision 8489.
  • Revision ID: gary.poster@canonical.com-20090501212404-2irrsubu3o5ccy4j
fold bin/py into compile

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
hosted_branches:
48
48
        $(PY) ./utilities/make-dummy-hosted-branches
49
49
 
50
 
bin/py:
51
 
        $(PYTHON) bootstrap.py
52
 
        ./bin/buildout
53
 
 
54
50
$(WADL_FILE): $(BZR_VERSION_INFO)
55
51
        LPCONFIG=$(LPCONFIG) $(PY) ./utilities/create-lp-wadl.py > $@
56
52
 
82
78
 
83
79
check: build
84
80
        # Run all tests. test_on_merge.py takes care of setting up the
85
 
        # database..
86
 
        env PYTHONPATH=$(PYTHONPATH) \
 
81
        # database.
87
82
        ${PY} -t ./test_on_merge.py $(VERBOSITY)
88
83
 
89
84
lint:
103
98
 
104
99
inplace: build
105
100
 
106
 
build: $(BZR_VERSION_INFO) bin/py compile apidoc
 
101
build: $(BZR_VERSION_INFO) compile apidoc
107
102
 
108
 
# XXX $(PY) -t
109
103
compile:
 
104
        $(PYTHON) bootstrap.py
 
105
        ./bin/buildout
110
106
        ${SHHH} $(MAKE) -C sourcecode build PYTHON=${PYTHON} \
111
107
            PYTHON_VERSION=${PYTHON_VERSION} LPCONFIG=${LPCONFIG}
112
 
        ${SHHH} LPCONFIG=${LPCONFIG} PYTHONPATH=$(PYTHONPATH) \
113
 
                 $(PY) buildmailman.py
 
108
        ${SHHH} LPCONFIG=${LPCONFIG} $(PY) -t buildmailman.py
114
109
        ${SHHH} sourcecode/lazr-js/tools/build.py \
115
110
                -n launchpad -s lib/canonical/launchpad/javascript \
116
111
                -b lib/canonical/launchpad/icing/build $(EXTRA_JS_FILES)
215
210
            -name '*.o' -o -name '*.so' -o -name '*.la' -o \
216
211
            -name '*.lo' -o -name '*.py[co]' -o -name '*.dll' \) \
217
212
            -print0 | xargs -r0 $(RM)
 
213
        $(RM) -r bin
 
214
        $(RM) -r parts
 
215
        $(RM) .installed.cfg
218
216
        $(RM) -r build
219
217
        $(RM) thread*.request
220
218
        $(RM) -r lib/mailman /var/tmp/mailman/* /var/tmp/fatsam.appserver
266
264
static:
267
265
        $(PY) scripts/make-static.py
268
266
 
269
 
TAGS: bin/py
 
267
TAGS: compile
270
268
        # emacs tags
271
269
        bin/tags -e
272
270
 
273
 
tags: bin/py
 
271
tags: compile
274
272
        # vi tags
275
273
        bin/tags -v
276
274
 
277
 
ID: bin/py
 
275
ID: compile
278
276
        # idutils ID file
279
277
        bin/tags -i
280
278