2004-12-19 20:17:29 +01:00
|
|
|
#!/usr/bin/make -f
|
2006-10-11 23:10:06 +02:00
|
|
|
DEB_PYTHON_SYSTEM=pysupport
|
|
|
|
|
|
|
|
# Debhelper must be included before python-distutils to use
|
|
|
|
# # # dh_python / dh_pycentral / dh_pysupport
|
2005-07-01 18:24:29 +02:00
|
|
|
include /usr/share/cdbs/1/rules/debhelper.mk
|
2005-07-01 18:59:51 +02:00
|
|
|
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
2006-10-11 23:10:06 +02:00
|
|
|
include /usr/share/cdbs/1/class/autotools.mk
|
2004-12-19 20:17:29 +01:00
|
|
|
|
2006-05-06 18:28:04 +02:00
|
|
|
PYTHONVER = 2.4
|
2006-10-11 23:10:06 +02:00
|
|
|
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)
|
2004-12-19 20:17:29 +01:00
|
|
|
|
2005-07-01 18:59:51 +02:00
|
|
|
binary-install/gajim::
|
2006-10-11 23:10:06 +02:00
|
|
|
rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py
|
|
|
|
dh_pycentral -pgajim
|
2007-01-03 11:35:13 +01:00
|
|
|
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
|