File: rules

package info (click to toggle)
termpaint 0.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,240 kB
  • sloc: cpp: 39,045; ansic: 9,768; python: 327; sh: 36; makefile: 14
file content (21 lines) | stat: -rwxr-xr-x 713 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -Dsystem-docopt=enabled -Dsystem-fmt=enabled \
                         -Dsystem-catch2=enabled -Dsystem-picojson=enabled \
                         -Dttyrescue-fexec-blob=false -Dttyrescue-path=/usr/lib/$(DEB_HOST_MULTIARCH)/termpaint0a/ \
                         -Dttyrescue-install=true \
                         -Dtools-path=/usr/lib/$(DEB_HOST_MULTIARCH)/termpaint0a/

execute_after_dh_auto_build:
	cd doc && python3 -m sphinx -b html . _build -a

override_dh_compress:
	dh_compress -Xcallback-event-handling.c -Xsync-event-handling.c