~canonical-ci-engineering/ubuntu-ci-services-itself/graphite-web

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Mathieu Parent, Marcelo Jorge Vieira, Jonas Genannt, Mathieu Parent
  • Date: 2013-06-10 18:17:39 UTC
  • Revision ID: package-import@ubuntu.com-20130610181739-os9yjxaabq7py61a
Tags: 0.9.10+debian-2
[ Marcelo Jorge Vieira ]
* libjs-flot was renamed to libjs-jquery-flot (Closes: #710452)

[ Jonas Genannt ]
* run cronjob only if binary is available (Closes: #705976)
* changed git to anonscm.debian.org as recommended by lintian

[ Mathieu Parent ]
* gbp.conf: Build to build-area
* gbp.conf: Set pristine-tar to true
* d/rules: Check for embedded libraries

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
%:
4
4
        dh $@ --with python2
5
5
 
 
6
check_embedded_libs:
 
7
        @if [ -f webapp/graphite/thirdparty \
 
8
            -o -f "webapp/content/js/ext/resources/*.swf" \
 
9
            -o -f "webapp/content/js/ext/examples" \
 
10
            -o -f "webapp/content/js/jquery.js" \
 
11
            -o -f "webapp/content/js/window/prototype.js" \
 
12
            -o -f "webapp/content/js/scriptaculous" \
 
13
            -o -f "webapp/content/js/window/effects.js" \
 
14
            -o -f "webapp/content/js/jquery.flot.crosshair.js" \
 
15
            -o -f "webapp/content/js/jquery.flot.js" \
 
16
            -o -f "webapp/content/js/jquery.flot.selection.js" \
 
17
              ] ; \
 
18
        then \
 
19
              echo " *****************************************"; \
 
20
              echo " **                                     **"; \
 
21
              echo " **  tar contains embedded libraries !  **"; \
 
22
              echo " **                                     **"; \
 
23
              echo " *****************************************"; \
 
24
              echo "Read README.source to correct this."; \
 
25
              echo ""; \
 
26
              exit 1; \
 
27
        fi
 
28
 
 
29
override_dh_prep: check_embedded_libs
 
30
        dh_prep
 
31
 
6
32
override_dh_installcron:
7
33
        dh_installcron --name=graphite_build_search_index
8
34