File: rules

package info (click to toggle)
libpam-x2go 0.0.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 276 kB
  • sloc: ansic: 774; makefile: 159; cpp: 40
file content (31 lines) | stat: -rwxr-xr-x 805 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/utils.mk

DEB_MAKE_CHECK_TARGET = check

pre-build::
	cp README.md README

cleanbuilddir::
	rm -f README

# Remove .a and .la files from /lib/security
remove-cruft::
	find $(DEB_DESTDIR)/lib/security -type f \
	        \( -name '*.a' -o -name '*.la' \) \
	            -exec rm '{}' +

common-install-indep:: remove-cruft
common-install-arch:: remove-cruft
common-binary-post-install-arch:: list-missing

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..