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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3DF9D158094 for ; Sat, 1 Oct 2022 09:42:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D678E0B11; Sat, 1 Oct 2022 09:42:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 75EA4E0B11 for ; Sat, 1 Oct 2022 09:42:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A2A034104B for ; Sat, 1 Oct 2022 09:42:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB111523 for ; Sat, 1 Oct 2022 09:42:52 +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: <1664617098.d9c60811809c9fb8d3d714f16191ace208f9cc9a.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: d9c60811809c9fb8d3d714f16191ace208f9cc9a X-VCS-Branch: master Date: Sat, 1 Oct 2022 09:42:52 +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: e3a52e0b-3bfb-41dd-a3f2-2a8839db846e X-Archives-Hash: d0c3f5712a0832a968946a42e05a7d72 commit: d9c60811809c9fb8d3d714f16191ace208f9cc9a Author: Ulrich Müller gentoo org> AuthorDate: Sat Oct 1 09:38:18 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Oct 1 09:38:18 2022 +0000 URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=d9c60811 Makefile: Build from sources in submodules Instead of fetching files over the network. Signed-off-by: Ulrich Müller gentoo.org> .gitignore | 2 -- Makefile | 21 ++++++--------------- 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index cf60873..b5624b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -*.dtd -*.stamp *.tar.xz diff --git a/Makefile b/Makefile index 57ca512..a3a384a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ -DTDS = glsa.dtd metadata.dtd mirrors.dtd projects.dtd \ - repositories.dtd userinfo.dtd - -RNCS = $(patsubst %.dtd,%.rnc,$(DTDS)) devbook.rnc +RNCS = devbook.rnc glsa.rnc metadata.rnc mirrors.rnc projects.rnc \ + repositories.rnc userinfo.rnc ifneq ($(PV),) P=nxml-gentoo-schemas-$(PV) @@ -18,17 +16,10 @@ dist: Makefile LICENCE schemas.xml $(RNCS) tar -cJf $(P).tar.xz --transform='s%^%$(P)/%' $^ clean: - rm -f *.dtd *.stamp *.tar.xz + rm -f *.tar.xz -%.rnc: %.dtd +%.rnc: dtd/%.dtd trang -I dtd -O rnc $< $@ -$(DTDS): - wget -N --no-verbose https://www.gentoo.org/dtd/$@ - -devbook.rnc: devbook.stamp - -devbook.stamp: - wget -N --no-verbose \ - https://gitweb.gentoo.org/proj/devmanual.git/plain/devbook.rnc - touch -r devbook.rnc $@ +devbook.rnc: devmanual/devbook.rnc + cp $< $@