1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-09-19 17:59:19 +03:00

another attempt to fix launchpad builds

This commit is contained in:
Ilya Shipitsin
2018-08-05 19:42:05 +05:00
parent 30a554c190
commit 9beec899b2
6 changed files with 17 additions and 17 deletions

8
debian/rules vendored
View File

@ -1,8 +1,9 @@
#!/usr/bin/make -f
define generate_stub
mkdir -p debian/usr/bin
echo '#!/bin/sh' > debian/usr/bin/$(1)
echo '/usr/libexec/softether/$(1)/$(1) "$@"' >> 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
@ -13,10 +14,11 @@ export export CMAKE_INSTALL_PREFIX=../debian/usr
%:
dh $@
override_dh_auto_make:
make -C tmp
override_dh_auto_configure:
cmake .
override_dh_auto_install:
dh_auto_install
$(call generate_stub,vpnserver)
$(call generate_stub,vpnbridge)
$(call generate_stub,vpncmd)