File: rules

package info (click to toggle)
poppler-sharp 0.0.3-4.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 416 kB
  • sloc: sh: 625; makefile: 68
file content (27 lines) | stat: -rwxr-xr-x 517 bytes parent folder | download | duplicates (2)
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
# -*- makefile -*-

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

override_dh_autoreconf:
	dh_autoreconf autoreconf -- -I m4/

override_dh_auto_build:
	dh_auto_build
	mkdir -p monodoc
	mdoc update \
		-fno-assembly-versions \
		--out=monodoc \
		$(CURDIR)/poppler-sharp.dll
	mdoc assemble \
		--format ecma \
		--out $(CURDIR)/poppler \
		$(CURDIR)/monodoc

override_dh_auto_clean:
	dh_auto_clean
	rm -rf poppler.zip poppler.tree monodoc

%:
	dh --with cli,autoreconf $@