File: rules

package info (click to toggle)
libvncserver 0.9.14%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,108 kB
  • sloc: ansic: 43,420; perl: 318; python: 80; sh: 51; makefile: 18
file content (27 lines) | stat: -rwxr-xr-x 577 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
#!/usr/bin/make -f

NULL =

VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//')

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ $(EXTRA_DH_ARG)

override_dh_auto_clean:
	dh_auto_clean
	rm -f rfb/rfbconfig.h

override_dh_auto_configure:
	dh_auto_configure -- \
	    -DWITH_PNG=OFF \
	    -DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
	    $(NULL)

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