mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Add rust dep for ppa
This commit is contained in:
10
Makefile
10
Makefile
@@ -53,8 +53,8 @@ build-fe:
|
||||
fi
|
||||
|
||||
build-rs: extract-vendor
|
||||
$(CARGO) build $(CARGO_BUILD_ARGS) -p gpclient -p gpauth -p gpservice
|
||||
$(CARGO) build $(CARGO_BUILD_ARGS) -p gpgui-helper --features "tauri/custom-protocol"
|
||||
$(CARGO) build $(CARGO_BUILD_ARGS) -p gpauth
|
||||
# $(CARGO) build $(CARGO_BUILD_ARGS) -p gpgui-helper --features "tauri/custom-protocol"
|
||||
|
||||
clean:
|
||||
$(CARGO) clean
|
||||
@@ -98,17 +98,21 @@ init-debian:
|
||||
|
||||
debmake
|
||||
|
||||
cp -f packaging/deb/control debian/control
|
||||
cp -f packaging/deb/control.in debian/control
|
||||
cp -f packaging/deb/rules debian/rules
|
||||
rm -f debian/changelog
|
||||
|
||||
deb: init-debian
|
||||
sed -i "s/@RUST@//g" debian/control
|
||||
|
||||
dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
||||
|
||||
debuild --preserve-env -e PATH -us -uc -b
|
||||
|
||||
# Usage: make ppa SERIES=focal
|
||||
ppa: init-debian
|
||||
sed -i "s/@RUST@/rust-all(>=1.70)/g" debian/control
|
||||
|
||||
$(eval SERIES_VER = $(shell distro-info --series $(SERIES) -r | cut -d' ' -f1))
|
||||
@echo "Building for $(SERIES) $(SERIES_VER)"
|
||||
|
||||
|
Reference in New Issue
Block a user