File: rules

package info (click to toggle)
last-exit 6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,016 kB
  • ctags: 2,153
  • sloc: cs: 11,354; sh: 9,253; makefile: 307; ansic: 198; xml: 12
file content (27 lines) | stat: -rwxr-xr-x 857 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

export MONO_SHARED_DIR=$(CURDIR)

TARBALL_EXT := tar.bz2
GNOME_DOWNLOAD_URL = http://lastexit-player.org/releases/$(GNOME_TARBALL)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/gnome.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_SCRIPT_ENV += LDFLAGS="-Wl,-O1 -Wl,--as-needed"
DEB_CONFIGURE_EXTRA_FLAGS := --disable-static

common-binary-predeb-arch common-binary-predeb-indep::
	dh_clideps -d

install/last-exit::
	find debian/ -type f -name "*.dll" -or -name "*.mdb" -or -name "*.cs" -or -name "*.config" | xargs chmod -x
	find debian/ -type f -name "*.exe" | xargs chmod +x

clean::
	rm -rf $(MONO_SHARED_DIR)/.wapi