File: rules

package info (click to toggle)
lcmaps-plugins-verify-proxy 1.5.10-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,008 kB
  • ctags: 433
  • sloc: sh: 11,278; ansic: 3,775; makefile: 113
file content (20 lines) | stat: -rwxr-xr-x 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf

# do not install the plugins in a multi-arch location as that will break everyone's
# configuration.
override_dh_auto_configure:
	dh_auto_configure -- --with-moduledir="\$${prefix}/lib/lcmaps"

override_dh_makeshlibs:
	dh_makeshlibs -n

# The package installs too many files. The .a and .la files should not be shipped,
# and the package documentation directory is the wrong name for Debian.
override_dh_install:
	rm debian/lcmaps-plugins-verify-proxy/usr/lib/lcmaps/lib*.a
	rm debian/lcmaps-plugins-verify-proxy/usr/lib/lcmaps/lib*.la
	rm -rf debian/lcmaps-plugins-verify-proxy/usr/share/doc/lcmaps-plugins-verify-proxy-*/
	dh_install