commit:     7f33c3f2ea82600ad53498340f804520871876f0
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 09:38:18 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 09:38:18 2022 +0000
URL:        
https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=7f33c3f2

Makefile: Build from sources in submodules

Instead of fetching files over the network.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .gitignore |  2 --
 Makefile   | 15 ++++-----------
 2 files changed, 4 insertions(+), 13 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..2a37157 100644
--- a/Makefile
+++ b/Makefile
@@ -18,17 +18,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 $< $@

Reply via email to