~sylvain-pineau/checkbox/ppa-ccs_provider_folder_renamed

« back to all changes in this revision

Viewing changes to debian/rules

"packaging changes to manage the new canonical-certification-package using plainbox manage.py [r=zkrynicki][bug=][author=sylvain-pineau]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
#export DH_VERBOSE=1
3
3
 
4
 
providers=plainbox-provider-certification-client \
5
 
                  plainbox-provider-certification-server \
 
4
providers=plainbox-provider-certification-server \
6
5
                  plainbox-provider-certification-server-soc
7
6
 
8
7
%:
10
9
 
11
10
override_dh_auto_clean:
12
11
        rm -rf $(foreach provider,$(providers),$(CURDIR)/$(provider)/*.egg-info)
 
12
        cd providers/2013.com.canonical.certification.certification-client && python3 manage.py clean
13
13
 
14
14
override_dh_auto_build:
15
15
        $(foreach provider,$(providers),cd $(CURDIR)/$(provider) && python3 setup.py build;)
 
16
        cd providers/2013.com.canonical.certification.certification-client && python3 manage.py build
 
17
        cd providers/2013.com.canonical.certification.certification-client && python3 manage.py i18n
 
18
 
 
19
override_dh_auto_test:
 
20
        cd providers/2013.com.canonical.certification.certification-client && python3 manage.py validate 
16
21
 
17
22
override_dh_auto_install:
18
23
        $(foreach provider,$(providers),cd $(CURDIR)/$(provider) && python3 setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb;)
 
24
        cd providers/2013.com.canonical.certification.certification-client && python3 manage.py install --prefix=/usr --layout=unix --root=$(CURDIR)/debian/tmp/canonical-certification-client
19
25
        dh_install