~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-11-18 00:37:30 UTC
  • mfrom: (14320.1.2 makefile-shellisms)
  • Revision ID: launchpad@pqm.canonical.com-20111118003730-5z5bkl6p7blqvgeh
[r=wallyworld][no-qa] Use $(RM) properly in our Makefile.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        $(PY) ./utilities/make-dummy-hosted-branches
80
80
 
81
81
$(API_INDEX): $(BZR_VERSION_INFO) $(PY)
82
 
        rm -rf $(APIDOC_DIR) $(APIDOC_DIR).tmp
 
82
        $(RM) -r $(APIDOC_DIR) $(APIDOC_DIR).tmp
83
83
        mkdir -p $(APIDOC_DIR).tmp
84
84
        LPCONFIG=$(LPCONFIG) $(PY) ./utilities/create-lp-wadl-and-apidoc.py \
85
85
            --force "$(APIDOC_TMPDIR)"
376
376
            -name '*.lo' -o -name '*.py[co]' -o -name '*.dll' \) \
377
377
            -print0 | xargs -r0 $(RM)
378
378
        $(RM) -r lib/mailman
379
 
        $(RM) -rf $(LP_BUILT_JS_ROOT)/*
380
 
        $(RM) -rf $(CODEHOSTING_ROOT)
381
 
        $(RM) -rf $(APIDOC_DIR)
382
 
        $(RM) -rf $(APIDOC_DIR).tmp
 
379
        $(RM) -r $(LP_BUILT_JS_ROOT)/*
 
380
        $(RM) -r $(CODEHOSTING_ROOT)
 
381
        $(RM) -r $(APIDOC_DIR)
 
382
        $(RM) -r $(APIDOC_DIR).tmp
383
383
        $(RM) $(BZR_VERSION_INFO)
384
384
        $(RM) +config-overrides.zcml
385
 
        $(RM) -rf \
 
385
        $(RM) -r \
386
386
                          /var/tmp/builddmaster \
387
387
                          /var/tmp/bzrsync \
388
388
                          /var/tmp/codehosting.test \
398
398
        # /var/tmp/launchpad_mailqueue is created read-only on ec2test
399
399
        # instances.
400
400
        if [ -w /var/tmp/launchpad_mailqueue ]; then \
401
 
                $(RM) -rf /var/tmp/launchpad_mailqueue; \
 
401
                $(RM) -r /var/tmp/launchpad_mailqueue; \
402
402
        fi
403
403
 
404
404