File: rules

package info (click to toggle)
pacman-package-manager 7.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,248 kB
  • sloc: ansic: 24,112; sh: 6,355; python: 6,029; perl: 149; makefile: 15
file content (24 lines) | stat: -rwxr-xr-x 632 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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# libalpm* is a different version than the other binary packages.
include /usr/share/dpkg/pkg-info.mk
DEB_REVISION = $(word 2, $(subst -, ,$(DEB_VERSION)))
LIBALPM_VERSION = 16.0.0

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -Dkeyringdir=keyrings

execute_after_dh_auto_clean:
	rm -rf obj-* test/pacman/__pycache__

execute_after_dh_gencontrol:
	dh_gencontrol -plibalpm16 -- -v$(LIBALPM_VERSION)-$(DEB_REVISION)
	dh_gencontrol -plibalpm-dev -- -v$(LIBALPM_VERSION)-$(DEB_REVISION)

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(LIBALPM_VERSION)