Changeset 7204 for trunk/debian/rules

Show
Ignore:
Timestamp:
10/11/06 23:10:06 (2 years ago)
Author:
asterix
Message:

updated debian files from official release and for autotools.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/debian/rules

    r6282 r7204  
    11#!/usr/bin/make -f 
     2DEB_PYTHON_SYSTEM=pysupport 
     3 
     4# Debhelper must be included before python-distutils to use 
     5# # # dh_python / dh_pycentral / dh_pysupport 
    26include /usr/share/cdbs/1/rules/debhelper.mk 
    3 include /usr/share/cdbs/1/class/makefile.mk 
    47include /usr/share/cdbs/1/rules/simple-patchsys.mk 
     8include /usr/share/cdbs/1/class/autotools.mk 
    59 
    6 PYTHON = python2.4 
    710PYTHONVER = 2.4 
    8 CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I. 
    9 LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` 
    10  
    11 DEB_MAKE_BUILD_TARGET    := all PYTHON=python2.4 
    12 DEB_MAKE_INSTALL_TARGET = install PYTHON=python2.4 PREFIX=/usr DESTDIR=$(DEB_DESTDIR) 
     11DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/usr 
     12DEB_MAKE_BUILD_TARGET    := all PYTHON=python$(PYTHONVER) 
     13DEB_MAKE_INSTALL_TARGET = install PYTHON=python$(PYTHONVER) DESTDIR=$(DEB_DESTDIR) 
    1314 
    1415binary-install/gajim:: 
     16        rm $(DEB_DESTDIR)/usr/share/gajim/src/common/GnuPGInterface.py 
     17        dh_pycentral -pgajim 
    1518        dh_python -pgajim /usr/share/gajim/src