File: rules

package info (click to toggle)
mistelix 0.31-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,112 kB
  • ctags: 1,839
  • sloc: sh: 10,068; cs: 9,324; ansic: 1,745; makefile: 426; xml: 171
file content (33 lines) | stat: -rwxr-xr-x 966 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
28
29
30
31
32
33
#!/usr/bin/make -f

export MONO_SHARED_DIR=$(CURDIR)

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

DEB_INSTALL_DOCS_ALL = NEWS
DEB_CONFIGURE_EXTRA_FLAGS += MCS=/usr/bin/mono-csc CSC=/usr/bin/mono-csc \
	--disable-static
DEB_DH_MAKESHLIBS_ARGS = -n

CURVER=$(shell dpkg-parsechangelog | grep ^Version | cut -d' ' -f2 | cut -d'-' -f1)

install/mistelix::
	rm -f $(CURDIR)/debian/mistelix/usr/lib/mistelix/*.la
	rm -f $(CURDIR)/debian/mistelix/usr/lib/mistelix/*/*.la
	rm -rf $(CURDIR)/debian/mistelix/usr/lib/pkgconfig/

binary-install/mistelix::
	chmod -x $(CURDIR)/debian/mistelix/usr/lib/mistelix/mistelix.exe.config

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

clean::
	rm -rf	$(MONO_SHARED_DIR)/.wapi
	
get-orig-source::
	mkdir -p ../tarballs
	uscan --force-download --download-version=$(CURVER) --destdir ../tarballs --rename