mirror of
https://github.com/coturn/coturn.git
synced 2025-12-25 09:51:37 +01:00
35 lines
789 B
Makefile
Executable File
35 lines
789 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
DPKG_EXPORT_BUILDFLAGS = 1
|
|
include /usr/share/dpkg/buildflags.mk
|
|
|
|
# Uncomment this to turn on verbose mode.
|
|
export DH_VERBOSE=1
|
|
|
|
# This has to be exported to make some magic below work.
|
|
export DH_OPTIONS
|
|
|
|
override_dh_auto_install:
|
|
true
|
|
|
|
override_dh_installexamples:
|
|
dh_installexamples -X ca/CA/ \
|
|
-X ca/turn_client_cert.pem \
|
|
-X ca/turn_client_pkey.pem \
|
|
-X ca/turn_server_cert.pem \
|
|
-X ca/turn_server_pkey.pem
|
|
|
|
override_dh_installdocs:
|
|
dh_installdocs -X ca/CA/ \
|
|
-X ca/turn_client_cert.pem \
|
|
-X ca/turn_client_pkey.pem \
|
|
-X ca/turn_server_cert.pem \
|
|
-X ca/turn_server_pkey.pem
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- --disable-rpath --turndbdir=/var/lib/turn
|
|
|
|
%:
|
|
dh $@ --builddirectory=.
|