mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 10:59:53 +03:00
simplify rules
This commit is contained in:
parent
166cb003a2
commit
4a8a146e4e
11
debian/rules
vendored
11
debian/rules
vendored
@ -7,7 +7,10 @@ LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
|
|||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
override_dh_auto_configure: configure_config
|
override_dh_auto_configure:
|
||||||
|
if [ $(shell uname -m) = 'x86_64' ]; then echo "1\n2\n" | ./configure; fi
|
||||||
|
if [ $(shell uname -m) = 'i686' ]; then echo "1\n1\n" | ./configure; fi
|
||||||
|
if [ $(shell uname -m) = 'armv6l' ]; then echo "1\n1\n" | ./configure; fi
|
||||||
|
|
||||||
override_dh_auto_clean:
|
override_dh_auto_clean:
|
||||||
rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles
|
rm -fr Makefile* usr bin tmp src/bin/BuiltHamcoreFiles
|
||||||
@ -16,9 +19,3 @@ override_dh_auto_install:
|
|||||||
patch -f < debian/makefile.patch
|
patch -f < debian/makefile.patch
|
||||||
mkdir -p usr/bin
|
mkdir -p usr/bin
|
||||||
make install
|
make install
|
||||||
|
|
||||||
configure_config:
|
|
||||||
if [ $(shell uname -m) = 'x86_64' ]; then echo "1\n2\n" | ./configure; fi
|
|
||||||
if [ $(shell uname -m) = 'i686' ]; then echo "1\n1\n" | ./configure; fi
|
|
||||||
if [ $(shell uname -m) = 'armv6l' ]; then echo "1\n1\n" | ./configure; fi
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user