File: rules

package info (click to toggle)
lcas-lcmaps-gt4-interface 0.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,016 kB
  • ctags: 273
  • sloc: sh: 11,497; ansic: 1,092; makefile: 150
file content (24 lines) | stat: -rwxr-xr-x 1,005 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
#!/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/lcas-lcmaps-gt4-interface
	mv debian/lcas-lcmaps-gt4-interface/usr/lib/liblcas_lcmaps_gt4_mapping.so.0.0.0 debian/lcas-lcmaps-gt4-interface/usr/lib/lcas-lcmaps-gt4-interface/liblcas_lcmaps_gt4_mapping.so
	rm debian/lcas-lcmaps-gt4-interface/usr/lib/liblcas_lcmaps_gt4_mapping.*
	mv debian/lcas-lcmaps-gt4-interface/usr/sbin/gt4-interface-install.sh debian/lcas-lcmaps-gt4-interface/usr/sbin/gt4-interface-install
	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: