File: rules

package info (click to toggle)
accerciser 1.2.0-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,340 kB
  • ctags: 756
  • sloc: python: 8,208; xml: 2,978; sh: 826; makefile: 234
file content (17 lines) | stat: -rwxr-xr-x 654 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-

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

DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper

$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
	dh_pysupport -p$(cdbs_curpkg)

binary-post-install/accerciser::
	# force executable bit on files looking like python scripts
	egrep -rlZ '^#!(.*)python' debian/accerciser/usr/share/accerciser/plugins | xargs -0 chmod a+x --