summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 897525321e1b0a071d41bfed06f199d607b07c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

%:
	dh ${@}

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-gnutls

execute_after_dh_prep:
	chrpath -d examples/gtlsserver
	chrpath -d examples/gtlsclient

execute_before_dh_install:
	mkdir -p debian/tmp/usr/sbin debian/tmp/usr/bin debian/tmp/usr/share/ngtcp2d/html
	mv examples/gtlsserver debian/tmp/usr/sbin
	mv examples/gtlsclient debian/tmp/usr/bin

execute_after_dh_install:
	rm -f debian/tmp/usr/lib/*/*.la

override_dh_installsystemd:
	dh_installsystemd --no-restart-after-upgrade --no-stop-on-upgrade --no-start --name ngtcp2d