File: rules

package info (click to toggle)
fosfat 0.4.0-13-ged091bb-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 496 kB
  • sloc: ansic: 2,858; sh: 834; makefile: 533
file content (26 lines) | stat: -rwxr-xr-x 605 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
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	./configure --prefix=/usr \
	            --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
	            --enable-static \
	            --enable-shared \
	            --enable-fosmount \
	            --disable-strip \
	            --enable-debug \
	            --enable-doc \
	            --enable-pic

override_dh_strip:
	dh_strip --ddeb-migration='fosfat-dbg (<< 0.4.0-6~)'

override_dh_auto_clean:
	touch config.mak
	dh_auto_clean