From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ACF52158087 for ; Sun, 16 Jan 2022 21:52:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC1C92BC00B; Sun, 16 Jan 2022 21:52:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 285792BC00B for ; Sun, 16 Jan 2022 21:52:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4B04342ED0 for ; Sun, 16 Jan 2022 21:52:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CB8B268 for ; Sun, 16 Jan 2022 21:52:30 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1642369768.dc82d8e45d48814b94458a3ce4edc396919a1d08.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: / X-VCS-Repository: proj/devmanual X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: dc82d8e45d48814b94458a3ce4edc396919a1d08 X-VCS-Branch: master Date: Sun, 16 Jan 2022 21:52:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3828fd8e-2ba8-4aac-aa2a-3b856e2957b5 X-Archives-Hash: 433ea549650f18bd421ea37eae715ef1 commit: dc82d8e45d48814b94458a3ce4edc396919a1d08 Author: Ulrich Müller gentoo org> AuthorDate: Sun Jan 16 21:49:28 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Jan 16 21:49:28 2022 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=dc82d8e4 Makefile: Simplify recipes for validate and tidy targets Signed-off-by: Ulrich Müller gentoo.org> Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3409931..2c7952a 100644 --- a/Makefile +++ b/Makefile @@ -83,8 +83,8 @@ install: all fi validate: - @xmllint --noout --dtdvalid devbook.dtd $(XMLS) \ - && echo "xmllint validation successful" + @xmllint --noout --dtdvalid devbook.dtd $(XMLS) + @echo "xmllint validation successful" # Run app-text/htmltidy on the output to detect mistakes. # We have to loop through them because otherwise tidy won't @@ -96,8 +96,8 @@ tidy: $(HTMLS) $(ECLASS_HTMLS) | tidy -q -errors --drop-empty-elements no 2>&1) \ || { status=$$?; echo "Failed on $${f}:"; echo "$${output}"; }; \ done; \ - test $${status} -eq 0 && echo "tidy validation successful"; \ exit $${status} + @echo "tidy validation successful" check: validate tidy