File: rules

package info (click to toggle)
psi 1.5%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 14,856 kB
  • sloc: cpp: 156,588; ansic: 15,068; javascript: 13,441; xml: 3,199; sh: 1,038; objc: 407; makefile: 396; python: 196; ruby: 171
file content (35 lines) | stat: -rwxr-xr-x 887 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
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

PLUGINS_SDK_DIR=$(CURDIR)/debian/psi/usr/share/psi/plugins/

CMAKEOPTS = -DBUNDLED_IRIS=ON \
            -DENABLE_PLUGINS=OFF \
            -DENABLE_WEBKIT=OFF \
            -DINSTALL_EXTRA_FILES=ON \
            -DINSTALL_PLUGINS_SDK=ON \
            -DPRODUCTION=OFF \
            -DUSE_CCACHE=ON \
            -DUSE_DBUS=ON \
            -DUSE_ENCHANT=OFF \
            -DUSE_HUNSPELL=ON \
            -DUSE_KEYCHAIN=OFF \
            -DUSE_WEBENGINE=OFF \
            -DUSE_XSS=ON \
            -DVERBOSE_PROGRAM_NAME=OFF

%:
	dh $@ --buildsystem=cmake

override_dh_dwz:
	dh_dwz || true

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKEOPTS)

override_dh_auto_install:
	dh_auto_install
	mkdir -p $(PLUGINS_SDK_DIR)
	cp -a src/plugins/include $(PLUGINS_SDK_DIR)
	cp -a src/plugins/*.pri $(PLUGINS_SDK_DIR)