~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Tim Penhey
  • Date: 2010-11-25 02:20:22 UTC
  • mto: (11929.11.9 recipe-syntax)
  • mto: This revision was merged to the branch mainline in revision 11979.
  • Revision ID: tim.penhey@canonical.com-20101125022022-112m6o3q6zcahqqr
Make the codehosting directory and the rewrite file when making 'build'.  This avoids the problem when apache makes the rewrite file and you can't remove it without sudo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
inplace: build
134
134
 
135
135
build: compile apidoc jsbuild css_combine
 
136
        mkdir -p $(CODEHOSTING_ROOT)/mirrors
 
137
        touch $(CODEHOSTING_ROOT)/rewrite.log
 
138
        chmod 777 $(CODEHOSTING_ROOT)/rewrite.log
136
139
 
137
140
css_combine: sprite_css bin/combine-css
138
141
        ${SHHH} bin/combine-css
398
401
clean_codehosting:
399
402
        $(RM) -r $(CODEHOSTING_ROOT)
400
403
        mkdir -p $(CODEHOSTING_ROOT)/mirrors
401
 
        mkdir -p $(CODEHOSTING_ROOT)/push-branches
402
404
        mkdir -p $(CODEHOSTING_ROOT)/config
403
405
        mkdir -p /var/tmp/bzrsync
404
406
        touch $(CODEHOSTING_ROOT)/config/launchpad-lookup.txt