gajim-plural/debian/rules

17 lines
637 B
Makefile
Executable File

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
PYTHONVER = `python -c 'import sys; print sys.version[:3]'`
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I.
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
DEB_MAKE_BUILD_TARGET := all
DEB_MAKE_INSTALL_TARGET = install PREFIX=/usr DESTDIR=$(DEB_DESTDIR)
binary-install/gajim::
rm $(DEB_DESTDIR)/usr/share/gajim/COPYING
rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py
dh_python -pgajim /usr/share/gajim/src