File: rules

package info (click to toggle)
deskbar-applet 2.32.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 8,480 kB
  • ctags: 2,192
  • sloc: python: 10,412; sh: 10,354; xml: 4,309; ansic: 1,575; makefile: 351
file content (21 lines) | stat: -rwxr-xr-x 708 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /usr/bin/make -f
# -*- makefile -*-

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

# The --datadir option is required. If it is not manually set, the file
# deskbar/defs.py contains the line
#   DATADIR = "${prefix}/share"
# which obviously won't work in Python code. See also bug #378080.
DEB_CONFIGURE_EXTRA_FLAGS += \
			--datadir=/usr/share \
			--disable-scrollkeeper \
			--libexecdir="\$${prefix}/lib"

# New python policy
binary-install/deskbar-applet::
	dh_pysupport -pdeskbar-applet