~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Gary Poster
  • Date: 2011-06-24 19:32:55 UTC
  • mto: This revision was merged to the branch mainline in revision 13394.
  • Revision ID: gary.poster@canonical.com-20110624193255-yn53g9mk9ep2oiql
make changes so that the wadl can be served directly from Apache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
BZR_VERSION_INFO = bzr-version-info.py
41
41
 
42
42
APIDOC_DIR = lib/canonical/launchpad/apidoc
43
 
WADL_TEMPLATE = $(APIDOC_DIR).tmp/wadl-$(LPCONFIG)-%(version)s.xml
 
43
APIDOC_TMPDIR = $(APIDOC_DIR).tmp/
44
44
API_INDEX = $(APIDOC_DIR)/index.html
45
45
 
46
46
# Do not add bin/buildout to this list.
79
79
        rm -rf $(APIDOC_DIR) $(APIDOC_DIR).tmp
80
80
        mkdir -p $(APIDOC_DIR).tmp
81
81
        LPCONFIG=$(LPCONFIG) $(PY) ./utilities/create-lp-wadl-and-apidoc.py \
82
 
            --force "$(WADL_TEMPLATE)"
83
 
        mv $(APIDOC_DIR).tmp $(APIDOC_DIR)
 
82
            --force "$(APIDOC_TMPDIR)"
 
83
        mv $(APIDOC_TMPDIR) $(APIDOC_DIR)
84
84
 
85
85
apidoc: compile $(API_INDEX)
86
86