File: rules

package info (click to toggle)
libextractor 1%3A1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,380 kB
  • sloc: ansic: 21,496; sh: 6,273; makefile: 780; cpp: 405; sed: 16
file content (15 lines) | stat: -rwxr-xr-x 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

# Enabling all hardening flags as libextractor handles untrusted data
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh ${@}

execute_after_dh_auto_clean:
	rm -f libextractor.pc libextractor.pc.in libextractor-uninstalled.pc libextractor-uninstalled.sh

execute_after_dh_auto_install:
	# Removing useless files
	rm -f debian/tmp/usr/lib/*/*.la
	rm -f debian/tmp/usr/lib/*/libextractor/*.la