File: rules

package info (click to toggle)
qatzip 1.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,404 kB
  • sloc: ansic: 19,962; makefile: 188; sh: 114
file content (29 lines) | stat: -rwxr-xr-x 899 bytes parent folder | download
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
27
28
29
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh ${@}

override_dh_auto_clean:
	# Missing make clean in upstream project
	find . -name "*.o" -exec rm -f {} \;
	find . -name "*.a" -exec rm -f {} \;
	find . -name "*.la" -exec rm -f {} \;
	find . -name "*.lai" -exec rm -f {} \;
	find . -name "*.lo" -exec rm -f {} \;
	find . -name "*.so*" -exec rm -f {} \;
	find . -name "*.m4" -exec rm -f {} \;
	find . -name "config.*" -exec rm -f {} \;
	find . -name "Makefile" -exec rm -f {} \;
	find . -name "qatzip.pc" -exec rm -f {} \;
	find . -name "qatzip.spec" -exec rm -f {} \;
	rm -f ar-lib compile configure depcomp install-sh \
		ltmain.sh missing libtool test/bt \
		test/qatzip-test utils/qzip Makefile \
		config.log Makefile.in src/Makefile.in \
		test/Makefile.in utils/Makefile.in

execute_after_dh_auto_install:
	# removing unused files
	rm -f debian/tmp/usr/lib/*/*.la