File: rules

package info (click to toggle)
libwmf 0.2.8.4-10.6
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 10,892 kB
  • ctags: 5,628
  • sloc: ansic: 54,493; sh: 9,039; makefile: 589; perl: 140
file content (19 lines) | stat: -rwxr-xr-x 576 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf

libwmfN := $(shell sed -rn 's/^Package:[[:space:]]*(libwmf[0-9.-]+)[[:space:]]*$$/\1/p' debian/control)

override_dh_auto_configure:
	dh_auto_configure -- \
	    --with-docdir=/usr/share/doc/$(libwmfN) \
	    --with-fontdir=/non-existent \
	    --with-gsfontdir=//usr/share/fonts/type1/gsfonts\
	    --with-sysfontmap=/non-existent \
	    --with-gsfontmap=/var/lib/ghostscript/fonts/Fontmap \
	    --with-xtrafontmap=/etc/libwmf.fontmap

override_dh_makeshlibs:
	dh_makeshlibs -X "gdk-pixbuf-2.0" -V "$(libwmfN) (>= 0.2.8.4)"