File: rules

package info (click to toggle)
picom 12.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,492 kB
  • sloc: ansic: 28,038; python: 548; sh: 365; makefile: 11
file content (22 lines) | stat: -rwxr-xr-x 566 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Set binary version
include /usr/share/dpkg/pkg-info.mk
export COMPTON_VERSION = $(DEB_VERSION_UPSTREAM)

# Stop ninja from using 'ccache' as the compiler
export CC = "/usr/bin/cc"

%:
	dh $@

ifneq (,$(filter armel m68k powerpc sh4,${DEB_HOST_ARCH}))
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358
# these platforms requires explicit link with -libatomic
export DEB_LDFLAGS_MAINT_APPEND += -latomic
endif

override_dh_auto_configure:
	dh_auto_configure -- -Dwith_docs=true -Dcompton=false