File: rules

package info (click to toggle)
facter 3.11.0-2%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,576 kB
  • sloc: cpp: 22,910; python: 2,349; ruby: 936; sh: 72; makefile: 41
file content (21 lines) | stat: -rwxr-xr-x 455 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
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_missing:
	dh_missing --fail-missing

override_dh_link:
	dh_link
	for target in $$($(CURDIR)/debian/list-ruby-dirs); do \
		dh_link -pfacter \
		   /usr/lib/$(DEB_HOST_MULTIARCH)/libfacter.so.$(DEB_VERSION_UPSTREAM) \
		   "$${target}/libfacter.so"; \
	done