mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 19:09:52 +03:00
3f9f28f542
found in issue 572 also, not needed debian/makefile.patch is removed
24 lines
559 B
Makefile
Executable File
24 lines
559 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
define generate_stub
|
|
echo '#!/bin/sh' > debian/usr/bin/$(1)
|
|
echo '/usr/libexec/softether/$(1)/$(1) "$@"' >> debian/usr/bin/$(1)
|
|
echo 'exit $?' >> debian/usr/bin/$(1)
|
|
chmod +x debian/usr/bin/$(1)
|
|
endef
|
|
|
|
export DH_VERBOSE=1
|
|
export export CMAKE_INSTALL_PREFIX=../debian/usr
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_make:
|
|
make -C tmp
|
|
|
|
override_dh_auto_install:
|
|
$(call generate_stub,vpnserver)
|
|
$(call generate_stub,vpnbridge)
|
|
$(call generate_stub,vpncmd)
|
|
$(call generate_stub,vpnclient)
|