File: rules

package info (click to toggle)
skalibs 2.7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 4,552 kB
  • sloc: ansic: 16,934; sh: 764; makefile: 143
file content (20 lines) | stat: -rwxr-xr-x 585 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

include /usr/share/dpkg/default.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --dynlibdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH) \
		--libdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH) \
		--includedir=\$${prefix}/include/$(DEB_BUILD_MULTIARCH) \
		--sysdepdir=\$${prefix}/lib/$(DEB_BUILD_MULTIARCH)/skalibs/sysdeps

override_dh_auto_configure-indep:
override_dh_auto_build-indep:
override_dh_auto_install-indep:
	mkdir -p debian/tmp/usr/share/doc/skalibs
	cp -aT doc debian/tmp/usr/share/doc/skalibs