File: rules

package info (click to toggle)
fastqtl 2.184%2Bv7%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,420 kB
  • sloc: cpp: 3,102; python: 323; makefile: 82; sh: 19; javascript: 3
file content (20 lines) | stat: -rwxr-xr-x 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Don't override the upstream FLAG -O3
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS 2>/dev/null | sed -e 's/-O2//g')

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CXXFLAGS_MAINT_APPEND = -std=c++14

%:
	dh $@ --with python3

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

execute_after_dh_fixperms-arch:
	chmod -x debian/*/usr/share/fastqtl/*.R