diff --git a/Makefile b/Makefile index 688d5ae..2e85d38 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,9 @@ uninstall: rm -f $(DESTDIR)/usr/share/polkit-1/actions/com.yuezk.gpgui.policy init-debian: + rm -rf .vendor rm -rf debian + debmake cp -f packaging/deb/control debian/control @@ -104,7 +106,7 @@ init-debian: deb: init-debian dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements." - debuild -e PATH -us -uc -b + debuild --preserve-env -e PATH -us -uc -b # Usage: make ppa SERIES=focal ppa: init-debian @@ -117,3 +119,5 @@ ppa: init-debian publish-ppa: ppa dput ppa:yuezk/globalprotect-openconnect ../*.changes + +rpm: