[go: up one dir, main page]

File: rules

package info (click to toggle)
iminuit 2.30.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,660 kB
  • sloc: cpp: 14,591; python: 11,177; makefile: 11; sh: 5
file content (17 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

#export DH_VERBOSE=1
export PYBUILD_NAME=iminuit
export PYBUILD_TEST_ARGS=-W ignore::DeprecationWarning
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# to ensure hardening
export VERBOSE=1
export CMAKE_ARGS=-DCMAKE_BUILD_TYPE=None -DCMAKE_VERBOSE_MAKEFILE=ON
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
export CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@ --buildsystem=pybuild