File: rules

package info (click to toggle)
straw 0.25.1-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,396 kB
  • ctags: 2,043
  • sloc: python: 11,154; ansic: 516; makefile: 20
file content (27 lines) | stat: -rwxr-xr-x 753 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
22
23
24
25
26
27
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_PYTHON_COMPILE_VERSION = 2.3
DEB_INSTALL_MANPAGES_straw := debian/straw.1

DEB_PYTHON_INSTALL_ARGS_ALL += \
	--disable-modules-check \
	--disable-schemas-install \
	--prefix=/usr \
	--with-gconf-schema-file-dir=/usr/share/gconf/schemas \
	 --install-lib=/usr/lib/straw

binary-post-install/straw::
	dh_install debian/straw.xpm usr/share/straw
	# Install this, upstream doesn't currently
	dh_install data/straw.schemas usr/share/gconf/schemas
	dh_gconf

clean::
	rm -rf build
	rm -f src/eggtray/trayicon.c
	find . -name *.pyc -exec rm {} \;