File: rules

package info (click to toggle)
bolt-lmm 2.3.4%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,912 kB
  • sloc: cpp: 8,707; makefile: 113; sh: 76
file content (17 lines) | stat: -rwxr-xr-x 455 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifneq (,$(filter $(DEB_HOST_ARCH), ppc64el))
export DEB_CFLAGS_MAINT_APPEND = -DNO_WARN_X86_INTRINSICS
endif

%:
	dh $@ --sourcedirectory=src

override_dh_auto_build-indep:
	cd $(CURDIR)/example/ && \
		tar Jcvf examples.tar.xz * --sort=name --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner

override_dh_installchangelogs:
	dh_installchangelogs debian/upstream.changelog