File: rules

package info (click to toggle)
screengrab 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,396 kB
  • sloc: cpp: 3,758; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 548 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 DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export LC_ALL=C.UTF-8

%:
	dh ${@} --buildsystem=cmake

override_dh_install:
	rm -f $(currdir)/debian/screengrab/usr/share/doc/screengrab/LICENSE.txt
	dh_install

override_dh_makeshlibs:
	# do nothing

override_dh_auto_configure:
	dh_auto_configure -- \
	    -DSG_DBUS_NOTIFY=ON \
	    -DSG_EXT_EDIT=ON \
	    -DSG_GLOBALSHORTCUTS=OFF \
	    -DUPDATE_TRANSLATIONS=OFF \
	    -DCMAKE_BUILD_TYPE=RelWithDebInfo