mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-08 12:49:36 +00:00
Use $(MAKE) instead of 'make' in Makefile.in
To support platforms where 'make' is named differently (e.g. on MacOS we use 'gmake' instead), replace it with '$(MAKE)' in Makefile.in
This commit is contained in:
20
Makefile.in
20
Makefile.in
@@ -45,38 +45,38 @@ help: ## Show this help message
|
||||
firefox-build: $(CURL_VERSION)/.firefox ## Build the Firefox version of curl-impersonate
|
||||
cd $(CURL_VERSION)
|
||||
# Don't pass this Makefile's MAKEFLAGS
|
||||
make MAKEFLAGS=
|
||||
$(MAKE) MAKEFLAGS=
|
||||
.PHONY: firefox-build
|
||||
|
||||
firefox-install: ## Install the Firefox version of curl-impersonate after build
|
||||
cd $(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-install
|
||||
|
||||
firefox-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-uninstall
|
||||
|
||||
chrome-build: $(CURL_VERSION)/.chrome ## Build the Chrome version of curl-impersonate
|
||||
cd $(CURL_VERSION)
|
||||
# Don't pass this Makefile's MAKEFLAGS
|
||||
make MAKEFLAGS=
|
||||
$(MAKE) MAKEFLAGS=
|
||||
.PHONY: chrome-build
|
||||
|
||||
chrome-install: ## Install the Chrome version of curl-impersonate after build
|
||||
cd $(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-install
|
||||
|
||||
chrome-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)/.patched
|
||||
cd $(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 exists
|
||||
rm -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 exists
|
||||
rm -f .firefox
|
||||
|
Reference in New Issue
Block a user