rules 802 Bytes
Newer Older
1
#!/usr/bin/make -f
2 3 4 5
DEB_PYTHON_SYSTEM=pysupport

# Debhelper must be included before python-distutils to use
# # # dh_python / dh_pycentral / dh_pysupport
6
include /usr/share/cdbs/1/rules/debhelper.mk
7
include /usr/share/cdbs/1/rules/simple-patchsys.mk
8
include /usr/share/cdbs/1/class/autotools.mk
9

10
PYTHONVER = 2.4
11 12 13
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr
DEB_MAKE_BUILD_TARGET    := all PYTHON=python$(PYTHONVER)
DEB_MAKE_INSTALL_TARGET = install PYTHON=python$(PYTHONVER) DESTDIR=$(DEB_DESTDIR)
14

15
binary-install/gajim::
16
	rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py
17
	dh_pysupport -pgajim
18 19
	convert $(DEB_DESTDIR)/usr/share/pixmaps/gajim.png -resize 32x32 $(DEB_DESTDIR)/usr/share/pixmaps/gajim.xpm
	install -m 0644 debian/gajim.lintian $(DEB_DESTDIR)/usr/share/lintian/overrides/gajim