File: rules

package info (click to toggle)
gamin 0.1.10-5
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 3,784 kB
  • ctags: 1,921
  • sloc: ansic: 10,675; sh: 8,915; python: 3,706; xml: 1,303; makefile: 319; awk: 48
file content (23 lines) | stat: -rwxr-xr-x 820 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
#!/usr/bin/make -f

DEB_BUILDDIR = debian/build

include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-autotools.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

GNOME_DOWNLOAD_URL = http://www.gnome.org/~veillard/gamin/sources/$(GNOME_TARBALL)

DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1"
DEB_CONFIGURE_EXTRA_FLAGS += --disable-kqueue

DEB_INSTALL_DOCS_ALL :=
DEB_INSTALL_DOCS_gamin := AUTHORS NEWS README TODO

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