~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Gavin Panella
  • Date: 2011-07-06 09:08:37 UTC
  • mto: (13333.13.8 longpoll-jobs)
  • mto: This revision was merged to the branch mainline in revision 13969.
  • Revision ID: gavin.panella@canonical.com-20110706090837-yi0taoahfg2ki2yy
Fix lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
JS_BUILD := min
27
27
endif
28
28
 
 
29
define JS_LP_FIND
 
30
find lib/lp/*/javascript ! -path '*/tests/*' \
 
31
    ! -path '*/app/javascript/lazr/*' -name '*.js' ! -name '.*.js'
 
32
endef
 
33
 
29
34
JS_YUI := $(shell utilities/yui-deps.py $(JS_BUILD:raw=))
30
35
JS_LAZR := $(LAZR_BUILT_JS_ROOT)/lazr.js
31
36
JS_OTHER := $(wildcard lib/canonical/launchpad/javascript/*/*.js)
32
 
JS_LP := $(shell find lib/lp/*/javascript ! -path '*/tests/*' ! -path '*/app/javascript/lazr/*' -name '*.js' ! -name '.*.js' )
 
37
JS_LP := $(shell $(JS_LP_FIND))
33
38
JS_ALL := $(JS_YUI) $(JS_LAZR) $(JS_OTHER) $(JS_LP)
34
39
JS_OUT := $(LP_BUILT_JS_ROOT)/launchpad.js
35
40
 
445
450
copy-apache-config:
446
451
        # We insert the absolute path to the branch-rewrite script
447
452
        # into the Apache config as we copy the file into position.
448
 
        sed -e 's,%BRANCH_REWRITE%,$(shell pwd)/scripts/branch-rewrite.py,' configs/development/local-launchpad-apache > /etc/apache2/sites-available/local-launchpad
 
453
        sed -e 's,%BRANCH_REWRITE%,$(shell pwd)/scripts/branch-rewrite.py,' \
 
454
                configs/development/local-launchpad-apache > \
 
455
                /etc/apache2/sites-available/local-launchpad
449
456
        cp configs/development/local-vostok-apache \
450
457
                /etc/apache2/sites-available/local-vostok
451
458
        touch /var/tmp/bazaar.launchpad.dev/rewrite.log
486
493
        reload-apache hosted_branches check_mailman check_config \
487
494
        jsbuild jsbuild_minify clean_js clean_buildout buildonce_eggs \
488
495
        build_eggs sprite_css sprite_image css_combine compile \
489
 
        check_schema pydoctor clean_logs 
 
496
        check_schema pydoctor clean_logs