~launchpad-results/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Marc Tardif
  • Date: 2012-04-03 02:21:47 UTC
  • Revision ID: marc.tardif@canonical.com-20120403022147-70m3lz8xe4cq192y
Fixed Makefile for syncdb target.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
                --setup-source=ez_setup.py \
96
96
                --download-base=build/download-cache/dist \
97
97
                --eggs=build/source-dependencies/eggs
 
98
        touch --no-create $@
98
99
 
99
 
$(BUILDOUT_BIN): bin/buildout versions.cfg $(BUILDOUT_CFG) setup.py
100
 
        $(RM) $@
 
100
$(PY): bin/buildout versions.cfg $(BUILDOUT_CFG) setup.py
101
101
        PYTHONPATH= ./bin/buildout $(BUILDOUT_FLAGS) \
102
102
                -c configs/$(LPRESULTS_CONFIG)/$(BUILDOUT_CFG) \
103
103
                "buildout:directory=$(CURDIR)" \
104
104
                "buildout:config=$(LPRESULTS_CONFIG)" \
105
105
                | grep -v "Unused options" | grep -v "warning: no files found"
106
 
 
107
 
compile: $(MANAGE)
 
106
        touch $@
 
107
 
 
108
$(subst $(PY),,$(BUILDOUT_BIN)): $(PY)
 
109
 
 
110
compile: $(PY)
108
111
 
109
112
$(APIDOC_DIR): $(APIDOC_STYLESHEET)
110
113
        mkdir -p $(APIDOC_DIR).tmp
137
140
        $(RM) -r $(MEDIA_BUILD_DIR)
138
141
 
139
142
check: clean build
140
 
        ./bin/manage.py test
 
143
        $(MANAGE) test
141
144
 
142
145
lint:
143
146
        ./bin/lint
189
192
 
190
193
dropdb: droptestdb droptestlayerdb
191
194
 
192
 
syncdb: $(MANAGE)
 
195
syncdb:
193
196
        STORM_STORES_SESSION=postgres:$(STORM_STORES_SESSION) \
194
197
                STORM_STORES_TEST_1=postgres:$(STORM_STORES_TEST_1) \
195
198
                STORM_STORES_TRACKER=postgres:$(STORM_STORES_TRACKER) \