File: rules

package info (click to toggle)
libcleri 0.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 604 kB
  • sloc: ansic: 4,202; makefile: 53; sh: 40
file content (24 lines) | stat: -rwxr-xr-x 552 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
21
22
23
24
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

include /usr/share/dpkg/pkg-info.mk
# Use both these variable to create the right libcleri.so* files/links
export DEB_VERSION_UPSTREAM
# Should be dynamic or unnecessary in the future, for now, just hard-code
export SONAME=0

%:
	dh $@

override_dh_auto_build-arch:
	$(MAKE) --directory=Release all

override_dh_auto_clean:
	$(MAKE) --directory=Release clean
	dh_auto_clean

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	$(MAKE) --directory=Release test
endif