File: rules

package info (click to toggle)
opensaml 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,288 kB
  • sloc: cpp: 27,917; sh: 4,244; xml: 1,004; makefile: 436; ansic: 18
file content (22 lines) | stat: -rwxr-xr-x 597 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
#!/usr/bin/make -f

# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

docdir = debian/tmp/usr/share/doc/opensaml-*
override_dh_install:
	cd $(docdir) && \
	    rm README.txt LICENSE.txt NOTICE.txt LOG4CPP.LICENSE
	# The tag file is unreproducible (it captures the full build path),
	# but is used as a "stamp" file during the build.
	cd $(docdir) && rm -f api/opensaml.tag api/html/*.md5 api/html/*.map
	dh_install

override_dh_installdocs:
	dh_installdocs -A doc/NOTICE.txt doc/README.txt

override_dh_missing:
	dh_missing --fail-missing -Xlibsaml.la