File: rules

package info (click to toggle)
xmhtml 1.1.10-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,184 kB
  • ctags: 8,341
  • sloc: ansic: 70,372; makefile: 480; sh: 176; perl: 36
file content (13 lines) | stat: -rwxr-xr-x 348 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export version=$(shell expr `pwd` : '.*-\([0-9.]*\)')
export version_major=$(shell expr `pwd` : '.*-\([0-9].[0-9]*\)[0-9]*')

%:
	dh $@ --parallel

override_dh_auto_build:
	dh_auto_build -- lib LDFLAGS+=-Wl,--as-needed CFLAGS+="-fPIC $(CPPFLAGS)"

override_dh_strip:
	dh_strip --ddeb-migration='libxmhtml1.1-dbg (<< 1.1.10-2~)'