From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1143613-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7E494138350 for <garchives@archives.gentoo.org>; Fri, 7 Feb 2020 05:35:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 937ADE0883; Fri, 7 Feb 2020 05:35:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 71340E0883 for <gentoo-commits@lists.gentoo.org>; Fri, 7 Feb 2020 05:35:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1340034E83F for <gentoo-commits@lists.gentoo.org>; Fri, 7 Feb 2020 05:35:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 972BE10C for <gentoo-commits@lists.gentoo.org>; Fri, 7 Feb 2020 05:34:59 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> 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" <ulm@gentoo.org> Message-ID: <1581053595.6f5b13920552d6882bcb5103e84d3a3146bd632c.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: 6f5b13920552d6882bcb5103e84d3a3146bd632c X-VCS-Branch: master Date: Fri, 7 Feb 2020 05:34:59 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1c50a615-32e4-4fa1-8c76-e023db7b19d2 X-Archives-Hash: c83066b5aa615d1156302f4e7d8b8165 commit: 6f5b13920552d6882bcb5103e84d3a3146bd632c Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Feb 7 05:33:15 2020 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Fri Feb 7 05:33:15 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=6f5b1392 Makefile: Drop "delete-old" from all prerequisites. By popular demand. Also drop "prereq" as prerequisite of "validate", because it is already listed with "all". Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d379bd3..d1515fb 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ IMAGES := $(patsubst %.svg,%.png,$(SVGS)) # Nonzero value disables external assets for offline browsing. OFFLINE = 0 -all: prereq validate delete-old build documents.js +all: prereq validate build documents.js prereq: @type rsvg-convert >/dev/null 2>&1 || \ @@ -54,7 +54,7 @@ documents.js: bin/build_search_documents.py $(XMLS) %.html: $$(dir $$@)text.xml devbook.xsl xsl/*.xsl $$(subst text.xml,index.html,$$(wildcard $$(dir $$@)*/text.xml)) xsltproc --param offline "$(OFFLINE)" devbook.xsl $< > $@ -validate: prereq +validate: @xmllint --noout --dtdvalid devbook.dtd $(XMLS) \ && echo "xmllint validation successful" @@ -77,7 +77,7 @@ delete-old: $(filter %/index.html %.png,$(ALL_FILES))) @find . ! -path './.git*' -type d -empty -delete -clean: delete-old +clean: @rm -f $(HTMLS) $(IMAGES) _documents.js documents.js .PHONY: all prereq validate build tidy delete-old clean