From 7e19dd72214e9458b4a3feb8e87ffd374322803a Mon Sep 17 00:00:00 2001 From: lwthiker Date: Tue, 12 Apr 2022 11:34:20 +0300 Subject: [PATCH] Only install binaries in 'make install' When doing 'make firefox-install' or 'make chrome-install' in our own Makefile, only install curl's binaries (curl & libcurl) and do not install the man pages and headers. This will prevent collision of these files with any installed curl man pages or headers. In the future it might be possible to rename the man pages or headers as well to allow them live side-by-side with the vanilla curl. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 853c3de..cc26187 100644 --- a/Makefile.in +++ b/Makefile.in @@ -50,7 +50,7 @@ firefox-build: $(CURL_VERSION)/.firefox ## Build the Firefox version of curl-imp firefox-install: ## Install the Firefox version of curl-impersonate after build cd $(CURL_VERSION) - make install 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 @@ -63,7 +63,7 @@ chrome-build: $(CURL_VERSION)/.chrome ## Build the Chrome version of curl-impers chrome-install: ## Install the Chrome version of curl-impersonate after build cd $(CURL_VERSION) - make install 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