File: rules

package info (click to toggle)
cairo-dock-plug-ins 3.5.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,976 kB
  • sloc: ansic: 90,452; python: 782; xml: 545; sh: 503; cs: 427; ruby: 283; makefile: 28
file content (24 lines) | stat: -rwxr-xr-x 681 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
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS+=$(CPPFLAGS) -D_POSIX_C_SOURCE=200809L
CXXFLAGS+=$(CPPFLAGS) -D_POSIX_C_SOURCE=200809L

%:
	dh $@ --with cmake,python3 --no-parallel

override_dh_auto_configure:
	dh_auto_configure -- \
	-DROOT_PREFIX=$(CURDIR)/debian/tmp \
	-Denable-gnome-integration=ON \
	-Denable-old-gnome-integration=OFF \
	-Denable-kde-integration=ON \
	-Denable-xfce-integration=ON \
	-Denable-global-menu=OFF \
	-DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)

override_dh_install:
	rm -fr $(CURDIR)/debian/tmp/usr/lib/python3/dist-packages/__pycache__
	dh_install