~gandelman-a/software-properties/lp829109

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Michael Vogt
  • Date: 2011-06-10 09:23:50 UTC
  • Revision ID: michael.vogt@ubuntu.com-20110610092350-ozlj3p7tgp4s458l
* move from python-central to dh_python2
* move from cdbs to dh7

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
  
3
 
DEB_AUTO_CLEANUP_RCS            := yes
4
 
 
5
 
DEB_PYTHON_SYSTEM=pycentral
6
 
export DH_PYCENTRAL=include-links
7
 
 
8
 
# Add here any variable or target overrides you need
9
 
 
10
 
include /usr/share/cdbs/1/rules/debhelper.mk
11
 
include /usr/share/cdbs/1/class/python-distutils.mk
12
 
 
13
 
ifdef _cdbs_rules_debhelper
14
 
$(patsubst %,binary-install/%,software-properties-gtk) :: binary-install/%:
15
 
        dh_scrollkeeper -p$(cdbs_curpkg) $(DEB_DH_SCROLLKEEPER_ARGS)
16
 
        $(if $(wildcard /usr/bin/dh_gconf),dh_gconf -p$(cdbs_curpkg) $(DEB_DH_GCONF_ARGS))
17
 
        $(if $(wildcard /usr/bin/dh_desktop),dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS))
18
 
        $(if $(wildcard /usr/bin/dh_iconcache),dh_iconcache -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS))
19
 
$(patsubst %,binary-install/%,software-properties-kde) :: binary-install/%:
20
 
        $(if $(wildcard /usr/bin/dh_desktop),dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS))
21
 
endif
22
 
 
23
 
 
24
 
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
25
 
 
26
 
arch-build::
27
 
        rm -rf debian/arch-build
28
 
        mkdir -p debian/arch-build/$(DEB_SOURCE_PACKAGE)-$(DEB_VERSION)
29
 
        tar -c --exclude=arch-build --no-recursion -f - `bzr inventory` | (cd debian/arch-build/$(DEB_SOURCE_PACKAGE)-$(DEB_VERSION);tar xf -)
30
 
        (cd debian/arch-build/$(DEB_SOURCE_PACKAGE)-$(DEB_VERSION) && $(DEB_BUILD_PROG))
 
2
 
 
3
%:
 
4
        dh $@ --with python2