~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

[r=jml][ui=None] Automatically call
        utilities/link-external-sourcecode if LP_SOURCEDEPS_PATH is set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
        # deployment we create this ourselves.
136
136
        mkdir eggs
137
137
 
 
138
# LP_SOURCEDEPS_PATH should point to the sourcecode directory, but we
 
139
# want the parent directory where the download-cache and eggs directory
 
140
# are. We re-use the variable that is using for the rocketfuel-get script.
138
141
download-cache:
 
142
ifdef LP_SOURCEDEPS_PATH
 
143
        utilities/link-external-sourcecode $(LP_SOURCEDEPS_PATH)/..
 
144
else
139
145
        @echo "Missing ./download-cache."
140
146
        @echo "Developers: please run utilities/link-external-sourcecode."
141
147
        @exit 1
 
148
endif
142
149
 
143
150
buildonce_eggs: $(PY)
144
151
        find eggs -name '*.pyc' -exec rm {} \;