File: rules

package info (click to toggle)
libfakekey 0.3%2Bgit20170516-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: ansic: 356; makefile: 44; sh: 2
file content (23 lines) | stat: -rwxr-xr-x 861 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
#!/usr/bin/make -f

DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+fortify

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-doxygen-docs

override_dh_installdocs:
	dh_installdocs -plibfakekey-dev
	dh_installdocs --doc-main-package=libfakekey0 -plibfakekey-doc
	dh_installdocs -plibfakekey0

execute_after_dh_clean:
	-rm -f aclocal.m4 config.guess config.h.in config.sub configure debcomp doc/Doxyfile doc/Makefile doc/Makefile.in fakekey/Makefile fakekey/Makefile.in install-sh libfakekey.pc libtool ltmain.sh Makefile Makefile.in missing src/Makefile src/Makefile.in tests/Makefile tests/Makefile.in srv/.deps src/Makefile stamp-h1 tests/.deps tests/Makefile
	-rm doc/man/man3mb/*.3mb
	-rm -rf libfakekey-0.1