File: rules

package info (click to toggle)
mono-upnp 0.1.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 3,196 kB
  • sloc: cs: 25,292; makefile: 1,208; sh: 596
file content (35 lines) | stat: -rwxr-xr-x 687 bytes parent folder | download | duplicates (3)
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
34
35
#!/usr/bin/make -f

override_dh_autoreconf:
	dh_autoreconf autoreconf -- -I.

override_dh_auto_configure:
	dh_auto_configure -- GMCS=/usr/bin/mono-csc

# Don't install tests
override_dh_install:
	dh_install -XTests.dll --list-missing

override_dh_auto_build:
	dh_auto_build -- ASSEMBLY_COMPILER_COMMAND=/usr/bin/mono-csc
	mkdir -p monodoc
	mdoc update \
		-fno-assembly-versions \
		-L$(CURDIR)/bin \
		--out=monodoc \
		$(CURDIR)/bin/*.dll
	mdoc assemble \
		--format ecma \
		--out $(CURDIR)/Mono.Upnp \
		$(CURDIR)/monodoc

dh_auto_clean:
	dh_auto_clean
	rm -rf monodoc


# Disable tests -- one of them requires network access.
override_dh_auto_test:

%:
	dh $@ --with=cli,autoreconf