File: rules

package info (click to toggle)
gsf-sharp 0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,548 kB
  • ctags: 19
  • sloc: sh: 8,694; makefile: 66; ansic: 33
file content (25 lines) | stat: -rwxr-xr-x 663 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
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk

DEB_DESTDIR = $(CURDIR)/debian/tmp
DEB_CONFIGURE_EXTRA_FLAGS += CSC=/usr/bin/mono-csc

export MONO_SHARED_DIR = $(CURDIR)

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

common-binary-predeb-arch::
	dh_makeclilibs -V
	dh_clideps -d

binary-post-install/libgsf0.0-cil::
	dh_installcligac -plibgsf0.0-cil

binary-predeb/libgsf0.0-cil::
	# fix permissions on DLLs for lintian 
	cd $(CURDIR)/debian && find . -type f -name "*.dll" -or -name "*.cs" | xargs chmod -x