File: rules

package info (click to toggle)
lomiri-session 0.3-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: sh: 115; makefile: 13
file content (22 lines) | stat: -rwxr-xr-x 583 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 DH_VERBOSE=1

DEB_CMAKE_EXTRA_FLAGS = $(NULL)
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
	DEB_CMAKE_EXTRA_FLAGS = "-DENABLE_UBUNTU_ACCOUNTSSERVICE=ON"
endif

%:
	dh $@ --buildsystem cmake

override_dh_auto_configure:
#   TODO add touch session once we have lomiri-system-compositor in
	dh_auto_configure -- -DENABLE_TOUCH_SESSION=off \
	                     $(DEB_CMAKE_EXTRA_FLAGS)

override_dh_missing:
	dh_missing --fail-missing

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..