File: rules

package info (click to toggle)
chromaprint 1.5.1-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,496 kB
  • sloc: cpp: 56,937; python: 7,851; ansic: 3,529; sh: 412; makefile: 191
file content (25 lines) | stat: -rwxr-xr-x 611 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
24
25
#!/usr/bin/make -f
# -*- makefile -*-
# export DH_VERBOSE=1

CONFIGURE_FLAGS  = -DBUILD_TOOLS=ON
CONFIGURE_FLAGS += -DBUILD_SHARED_LIBS=ON
CONFIGURE_FLAGS += -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"
CONFIGURE_FLAGS += -DFFT_LIB=kissfft

ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
CONFIGURE_FLAGS += -DBUILD_TESTS=ON
CONFIGURE_FLAGS += -DGTEST_ROOT=/usr/src/googletest/googletest/
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

execute_before_dh_installman:
	rst2man debian/fpcalc.rst > debian/fpcalc.1

override_dh_installchangelogs:
	dh_installchangelogs NEWS.txt