File: rules

package info (click to toggle)
lcas-lcmaps-gt4-interface 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 1,884 kB
  • ctags: 246
  • sloc: sh: 11,106; ansic: 1,354; makefile: 155
file content (24 lines) | stat: -rwxr-xr-x 959 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(shell dpkg-buildflags --export=configure)

# Some files need to go in different locations, or be renamed
override_dh_auto_install:
	dh_auto_install -a
	mkdir -p debian/lcas-lcmaps-gt4-interface/usr/lib/$(DEB_HOST_MULTIARCH)/lcas-lcmaps-gt4-interface
	mv debian/lcas-lcmaps-gt4-interface/usr/lib/$(DEB_HOST_MULTIARCH)/liblcas_lcmaps_gt4_mapping.so.0.0.0 debian/lcas-lcmaps-gt4-interface/usr/lib/$(DEB_HOST_MULTIARCH)/lcas-lcmaps-gt4-interface/liblcas_lcmaps_gt4_mapping.so
	rm debian/lcas-lcmaps-gt4-interface/usr/lib/$(DEB_HOST_MULTIARCH)/liblcas_lcmaps_gt4_mapping.*

	rm -rf debian/lcas-lcmaps-gt4-interface/usr/share/doc

# The plug-in should not be treated as a common shared library
# Make this a no-op to prevent the creation of postinst/postrm
override_dh_makeshlibs: