mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-09-06 08:51:51 +00:00
Add Makefile uninstall targets
Add two targets for uninstalling curl-impersonate to the Makefile.
This commit is contained in:
+13
-1
@@ -55,6 +55,12 @@ firefox-install: ## Install the Firefox version of curl-impersonate after build
|
||||
cp -f $(srcdir)/firefox/curl_ff* @bindir@
|
||||
.PHONY: firefox-install
|
||||
|
||||
firefox-uninstall: ## Uninstall the Firefox version of curl-impersonate after 'make install'
|
||||
cd $(CURL_VERSION)
|
||||
make uninstall MAKEFLAGS=
|
||||
rm -Rf @bindir@/curl_ff*
|
||||
.PHONY: firefox-uninstall
|
||||
|
||||
chrome-build: $(CURL_VERSION)/.chrome ## Build the Chrome version of curl-impersonate
|
||||
cd $(CURL_VERSION)
|
||||
# Don't pass this Makefile's MAKEFLAGS
|
||||
@@ -68,7 +74,13 @@ chrome-install: ## Install the Chrome version of curl-impersonate after build
|
||||
cp -f $(srcdir)/chrome/curl_chrome* $(srcdir)/chrome/curl_edge* $(srcdir)/chrome/curl_safari* @bindir@
|
||||
.PHONY: chrome-install
|
||||
|
||||
clean: ## Remove all build artifacts
|
||||
chrome-uninstall: ## Uninstall the Chrome version of curl-impersonate after 'make install'
|
||||
cd $(CURL_VERSION)
|
||||
make uninstall MAKEFLAGS=
|
||||
rm -Rf @bindir@/curl_chrome* @bindir@/curl_edge* @bindir@/curl_safari*
|
||||
.PHONY: chrome-uninstall
|
||||
|
||||
clean: ## Remove build artifacts
|
||||
rm -Rf brotli-$(BROTLI_VERSION).tar.gz brotli-$(BROTLI_VERSION)
|
||||
rm -Rf $(NSS_VERSION).tar.gz $(NSS_VERSION)
|
||||
rm -Rf boringssl.zip boringssl
|
||||
|
||||
Reference in New Issue
Block a user