mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-05-20 07:26:58 -04:00
Update build
This commit is contained in:
8
Makefile
8
Makefile
@@ -63,6 +63,8 @@ build-fe:
|
||||
fi
|
||||
|
||||
build-rs:
|
||||
printenv
|
||||
|
||||
if [ $(OFFLINE) -eq 1 ]; then \
|
||||
tar -xJf vendor.tar.xz; \
|
||||
fi
|
||||
@@ -135,7 +137,9 @@ deb: init-debian
|
||||
|
||||
dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements."
|
||||
|
||||
debuild --preserve-env -e PATH -us -uc -b
|
||||
printenv
|
||||
|
||||
debuild -e PATH -us -uc -b
|
||||
|
||||
check-ppa:
|
||||
if [ $(OFFLINE) -eq 0 ]; then \
|
||||
@@ -183,7 +187,7 @@ rpm: init-rpm tarball
|
||||
rm -rf $(HOME)/rpmbuild
|
||||
rpmdev-setuptree
|
||||
|
||||
cp .build/tarball/${PKG}.tar.gz $(HOME)/rpmbuild/SOURCES
|
||||
cp .build/tarball/${PKG}.tar.gz $(HOME)/rpmbuild/SOURCES/${PKG_NAME}.tar.gz
|
||||
rpmbuild -ba .build/rpm/globalprotect-openconnect.spec
|
||||
|
||||
# Copy RPM package from build directory
|
||||
|
Reference in New Issue
Block a user