File: rules

package info (click to toggle)
snapcast 0.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,308 kB
  • sloc: cpp: 20,522; makefile: 476; sh: 460; python: 155
file content (24 lines) | stat: -rwxr-xr-x 620 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_configure:
	cp -a aixlog externals/
	cp -a popl externals/
	dh_auto_configure

override_dh_auto_build:
	dh_auto_build -- STRIP=: DEBUG= ADD_CFLAGS="$(CXXFLAGS) $(CPPFLAGS)" ADD_LDFLAGS="$(LDFLAGS)"

override_dh_auto_install:
	dh_auto_install --sourcedir=client --destdir=debian/snapclient/
	dh_auto_install --sourcedir=server --destdir=debian/snapserver/

override_dh_auto_clean:
	dh_auto_clean
	rm -rf externals/aixlog externals/popl