curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
Use $(MAKE) instead of 'make' in Makefile.in
lwthikera6c4fa6ac113
diff --git a/Makefile.in b/Makefile.inindex 2ba2d3d..e21b046 100644--- a/Makefile.in+++ b/Makefile.in@@ -45,38 +45,38 @@ help: ## Show this help messagefirefox-build: $(CURL_VERSION)/.firefox ## Build the Firefox version of curl-impersonatecd $(CURL_VERSION)# Don't pass this Makefile's MAKEFLAGS- make MAKEFLAGS=+ $(MAKE) MAKEFLAGS=.PHONY: firefox-buildfirefox-install: ## Install the Firefox version of curl-impersonate after buildcd $(CURL_VERSION)- make install-exec MAKEFLAGS=+ $(MAKE) install-exec MAKEFLAGS=# Wrapper scripts for the Firefox version (e.g. 'curl_ff98')cp -f $(srcdir)/firefox/curl_ff* @bindir@.PHONY: firefox-installfirefox-uninstall: ## Uninstall the Firefox version of curl-impersonate after 'make install'cd $(CURL_VERSION)- make uninstall MAKEFLAGS=+ $(MAKE) uninstall MAKEFLAGS=rm -Rf @bindir@/curl_ff*.PHONY: firefox-uninstallchrome-build: $(CURL_VERSION)/.chrome ## Build the Chrome version of curl-impersonatecd $(CURL_VERSION)# Don't pass this Makefile's MAKEFLAGS- make MAKEFLAGS=+ $(MAKE) MAKEFLAGS=.PHONY: chrome-buildchrome-install: ## Install the Chrome version of curl-impersonate after buildcd $(CURL_VERSION)- make install-exec MAKEFLAGS=+ $(MAKE) install-exec MAKEFLAGS=# Wrapper scripts for the Chrome version (e.g. 'curl_chrome99')cp -f $(srcdir)/chrome/curl_chrome* $(srcdir)/chrome/curl_edge* $(srcdir)/chrome/curl_safari* @bindir@.PHONY: chrome-installchrome-uninstall: ## Uninstall the Chrome version of curl-impersonate after 'make install'cd $(CURL_VERSION)- make uninstall MAKEFLAGS=+ $(MAKE) uninstall MAKEFLAGS=rm -Rf @bindir@/curl_chrome* @bindir@/curl_edge* @bindir@/curl_safari*.PHONY: chrome-uninstall@@ -150,8 +150,8 @@ $(NGHTTP2_VERSION)/.patched: $(srcdir)/firefox/patches/libnghttp2-*.patch$(nghttp2_static_libs): $(NGHTTP2_VERSION).tar.bz2 $(NGHTTP2_VERSION)/.patchedcd $(NGHTTP2_VERSION)./configure --prefix=$(nghttp2_install_dir) --with-pic- make MAKEFLAGS=- make install MAKEFLAGS=+ $(MAKE) MAKEFLAGS=+ $(MAKE) install MAKEFLAGS=$(CURL_VERSION).tar.xz:curl -L "https://curl.se/download/$(CURL_VERSION).tar.xz" \@@ -190,7 +190,7 @@ $(CURL_VERSION)/.firefox: $(firefox_libs) $(CURL_VERSION).tar.xz $(CURL_VERSION)USE_CURL_SSLKEYLOGFILE=true \CFLAGS="-I$(nss_install_dir)/../public/nss -I$(nss_install_dir)/include/nspr"# Remove possible leftovers from a previous compilation- make clean MAKEFLAGS=+ $(MAKE) clean MAKEFLAGS=touch .firefox# Remove the Chrome flag if it existsrm -f .chrome@@ -207,7 +207,7 @@ $(CURL_VERSION)/.chrome: $(chrome_libs) $(CURL_VERSION).tar.xz $(CURL_VERSION)/.LIBS="-pthread" \CFLAGS="-I$(boringssl_install_dir)"# Remove possible leftovers from a previous compilation- make clean MAKEFLAGS=+ $(MAKE) clean MAKEFLAGS=touch .chrome# Remove the Firefox flag if it existsrm -f .firefox