File: rules

package info (click to toggle)
zynaddsubfx 3.0.6-7
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 65,828 kB
  • sloc: cpp: 124,436; ansic: 39,936; objc: 2,496; makefile: 1,369; python: 567; sh: 566; ruby: 178; javascript: 50
file content (19 lines) | stat: -rwxr-xr-x 470 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

noatomicarch = $(shell dpkg-architecture -qDEB_HOST_ARCH | egrep -x "(armel|powerpc|m68k|sh4|riscv64)")
# link with libatomic on architectures without built-in atomic
ifeq ($(if $(noatomicarch),atomic), atomic)
	LIBS += -latomic
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DNoNeonPlease=ON

override_dh_installman:
	asciidoctor -b manpage doc/zynaddsubfx.1.txt
	dh_installman