File: rules

package info (click to toggle)
xmhtml 1.1.10-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 6,188 kB
  • sloc: ansic: 70,372; makefile: 480; sh: 176; perl: 36
file content (13 lines) | stat: -rwxr-xr-x 332 bytes parent folder | download | duplicates (2)
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]*')
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_autoreconf:

override_dh_auto_build:
	dh_auto_build -- lib LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS) -fPIC $(CPPFLAGS)"