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 3CEB4158088 for ; Tue, 25 Jan 2022 08:11:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07BDFE07B3; Tue, 25 Jan 2022 08:11:22 +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 8686FE07B3 for ; Tue, 25 Jan 2022 08:11:21 +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 2AB5B342AC1 for ; Tue, 25 Jan 2022 08:11:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8497721E for ; Tue, 25 Jan 2022 08:11:18 +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: <1643069939.bd1f8977651b3ea9a7a20fdd439e2f66f236a3bd.ulm@gentoo> Subject: [gentoo-commits] proj/nxml-gentoo-schemas:master commit in: / X-VCS-Repository: proj/nxml-gentoo-schemas X-VCS-Files: .gitignore Makefile X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: bd1f8977651b3ea9a7a20fdd439e2f66f236a3bd X-VCS-Branch: master Date: Tue, 25 Jan 2022 08:11:18 +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: 11907af8-27e7-405a-bdb1-15c0f21ffae8 X-Archives-Hash: dc92b87c4ceace2b21009d3cb7da6b01 commit: bd1f8977651b3ea9a7a20fdd439e2f66f236a3bd Author: Ulrich Müller gentoo org> AuthorDate: Tue Jan 25 00:18:59 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Tue Jan 25 00:18:59 2022 +0000 URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=bd1f8977 Makefile: The devmanual now uses RELAX NG instead of DTD Signed-off-by: Ulrich Müller gentoo.org> .gitignore | 1 + Makefile | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index fb79b6a..cf60873 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.dtd +*.stamp *.tar.xz diff --git a/Makefile b/Makefile index acba372..57ca512 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -DTDS = devbook.dtd glsa.dtd metadata.dtd mirrors.dtd \ - projects.dtd repositories.dtd userinfo.dtd +DTDS = glsa.dtd metadata.dtd mirrors.dtd projects.dtd \ + repositories.dtd userinfo.dtd -RNCS = $(patsubst %.dtd,%.rnc,$(DTDS)) +RNCS = $(patsubst %.dtd,%.rnc,$(DTDS)) devbook.rnc ifneq ($(PV),) P=nxml-gentoo-schemas-$(PV) @@ -10,7 +10,7 @@ P=nxml-gentoo-schemas-$(shell TZ=UTC date '+%Y%m%d') endif .PHONY: all dist clean -.PRECIOUS: $(RNCS) $(DTDS) +.PRECIOUS: $(RNCS) all: $(RNCS) @@ -18,14 +18,17 @@ dist: Makefile LICENCE schemas.xml $(RNCS) tar -cJf $(P).tar.xz --transform='s%^%$(P)/%' $^ clean: - rm -f *.dtd *.tar.xz + rm -f *.dtd *.stamp *.tar.xz %.rnc: %.dtd trang -I dtd -O rnc $< $@ -%.dtd: +$(DTDS): wget -N --no-verbose https://www.gentoo.org/dtd/$@ -devbook.dtd: +devbook.rnc: devbook.stamp + +devbook.stamp: wget -N --no-verbose \ - https://gitweb.gentoo.org/proj/devmanual.git/plain/$@ + https://gitweb.gentoo.org/proj/devmanual.git/plain/devbook.rnc + touch -r devbook.rnc $@