Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 %:
10 dh $@
11
12 override_dh_auto_configure:
13 dh_auto_configure -- $(shell dpkg-buildflags --export=configure)
14
15 # Some files need to go in different locations, or be renamed
16 override_dh_auto_install:
17 dh_auto_install -a
18 mkdir -p debian/lcas-lcmaps-gt4-interface/usr/lib/$(DEB_HOST_MULTIARCH)/lcas-lcmaps-gt4-interface
19 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
20 rm debian/lcas-lcmaps-gt4-interface/usr/lib/$(DEB_HOST_MULTIARCH)/liblcas_lcmaps_gt4_mapping.*
21
22 rm -rf debian/lcas-lcmaps-gt4-interface/usr/share/doc
23
24 # The plug-in should not be treated as a common shared library
25 # Make this a no-op to prevent the creation of postinst/postrm
26 override_dh_makeshlibs: