public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx.manpages@gmail.com>
To: mtk.manpages@gmail.com
Cc: Alejandro Colomar <alx.manpages@gmail.com>,
	linux-man@vger.kernel.org,
	Debian man-pages <manpages@packages.debian.org>,
	"Dr. Tobias Quathamer" <toddy@debian.org>
Subject: [PATCH 2/3] Makefile: Fix bug when running in parallel
Date: Sun, 21 Mar 2021 00:07:00 +0100	[thread overview]
Message-ID: <20210320230659.182237-2-alx.manpages@gmail.com> (raw)
In-Reply-To: <20210320230659.182237-1-alx.manpages@gmail.com>

Prerequisites can run in parallel.  This wouldn't make any sense
when uninstalling and installing again.

For that, use consecutive commands, which run one after the other
even with multiple cores.

Cc: Debian man-pages <manpages@packages.debian.org>
Cc: "Dr. Tobias Quathamer" <toddy@debian.org>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a7a4ca284..683dd12be 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,9 @@ INSTALL_DATA = $(INSTALL) -m 644
 INSTALL_DIR = $(INSTALL) -m 755 -d
 
 .PHONY: all
-all: remove install
+all:
+	$(MAKE) uninstall;
+	$(MAKE) install;
 
 # Use with
 #  make HTOPTS=whatever html
-- 
2.31.0


       reply	other threads:[~2021-03-20 23:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210320230659.182237-1-alx.manpages@gmail.com>
2021-03-20 23:07 ` Alejandro Colomar [this message]
2021-03-20 23:07 ` [PATCH 3/3] .gitignore: Add file Alejandro Colomar
2021-03-20 23:19 ` [PATCH v2 2/3] Makefile: Fix bug when running in parallel Alejandro Colomar
2021-03-20 23:19 ` [PATCH v2 3/3] .gitignore: Add file Alejandro Colomar
2021-03-28 19:06 ` [PATCH v3 2/3] Makefile: Fix bug when running in parallel Alejandro Colomar
2021-03-28 19:06 ` [PATCH v3 3/3] .gitignore: Add file Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210320230659.182237-2-alx.manpages@gmail.com \
    --to=alx.manpages@gmail.com \
    --cc=linux-man@vger.kernel.org \
    --cc=manpages@packages.debian.org \
    --cc=mtk.manpages@gmail.com \
    --cc=toddy@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox