public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/nxml-gentoo-schemas:master commit in: /
Date: Sat, 29 Feb 2020 16:15:32 +0000 (UTC)	[thread overview]
Message-ID: <1582991996.8faabd289b20cb21c739a1915ea9ed22401c5332.ulm@gentoo> (raw)

commit:     8faabd289b20cb21c739a1915ea9ed22401c5332
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 29 15:59:56 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 29 15:59:56 2020 +0000
URL:        https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=8faabd28

Makefile: No more automatic dependencies.

The remaining DTDs don't have any interdependencies, which much
simplifies things.

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

 .gitignore |  2 --
 Makefile   | 27 ++++-----------------------
 2 files changed, 4 insertions(+), 25 deletions(-)

diff --git a/.gitignore b/.gitignore
index 76c449f..7d15794 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-*.dep
 *.dtd
-.depend

diff --git a/Makefile b/Makefile
index cc4406b..304ae7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,6 @@
 DTDS = devbook.dtd glsa.dtd metadata.dtd mirrors.dtd \
        projects.dtd repositories.dtd
 
-DTDDEPS = $(patsubst %.dtd,%.dep,$(DTDS))
 RNCS = $(patsubst %.dtd,%.rnc,$(DTDS))
 
 ifneq ($(PV),)
@@ -12,36 +11,20 @@ endif
 
 TARBALL=$(PN).tar.xz
 
-.SUFFIXES: .dtd .rnc .dep
-.PHONY: depend all clean
+.PHONY: all clean
 .PRECIOUS: $(RNCS) $(DTDS)
-.INTERMEDIATE: $(DTDDEPS)
 
-all: .depend $(TARBALL)
-
-depend: .depend
+all: $(TARBALL)
 
 clean:
-	rm -f *.dtd *.dep .depend
-
-.depend: $(DTDDEPS)
-	cat *.dep > $@
+	rm -f *.dtd
 
 $(TARBALL): Makefile LICENCE schemas.xml $(RNCS)
 	mkdir -p $(PN)
 	cp $^ $(PN)
 	tar cJf $@ $(PN)
 
-.dtd.dep:
-	echo -n > $@
-	sed -n -e '/ENTITY/s|<!ENTITY % \w\+ SYSTEM "\(.*\)\.dtd">|\1|p' $< | \
-	while read dep; do \
-		echo "$(patsubst %.dtd,%.rnc,$<): $$dep.rnc $$dep.dtd" >> $@ || exit 1; \
-		echo "$(TARBALL): $$dep.rnc" >> $@ || exit 1; \
-		$(MAKE) "$$dep.dep" || exit 1; \
-	done
-
-.dtd.rnc:
+%.rnc: %.dtd
 	trang -I dtd -O rnc $< $@
 
 %.dtd:
@@ -50,5 +33,3 @@ $(TARBALL): Makefile LICENCE schemas.xml $(RNCS)
 devbook.dtd:
 	wget -N --no-verbose \
 	  https://gitweb.gentoo.org/proj/devmanual.git/plain/$@
-
--include .depend


             reply	other threads:[~2020-02-29 16:15 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-29 16:15 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-16 12:51 [gentoo-commits] proj/nxml-gentoo-schemas:master commit in: / Ulrich Müller
2024-11-12 18:22 Ulrich Müller
2024-11-12 18:22 Ulrich Müller
2024-10-31 19:27 Ulrich Müller
2024-10-31 19:27 Ulrich Müller
2024-10-31 19:27 Ulrich Müller
2024-02-08 10:56 Ulrich Müller
2023-10-22 21:05 Ulrich Müller
2023-10-07 14:17 Ulrich Müller
2023-09-14 16:01 Ulrich Müller
2023-02-27 18:20 Ulrich Müller
2022-11-03 17:48 Ulrich Müller
2022-10-01  9:42 Ulrich Müller
2022-10-01  9:40 Ulrich Müller
2022-10-01  9:40 Ulrich Müller
2022-09-16  7:15 Ulrich Müller
2022-07-30  5:31 Ulrich Müller
2022-06-19 15:46 Ulrich Müller
2022-05-26  6:10 Ulrich Müller
2022-05-26  6:10 Ulrich Müller
2022-05-24 17:59 Ulrich Müller
2022-04-28 22:38 Ulrich Müller
2022-04-28 22:35 Ulrich Müller
2022-01-25  8:11 Ulrich Müller
2022-01-25  8:11 Ulrich Müller
2022-01-25  8:11 Ulrich Müller
2022-01-21 22:08 Ulrich Müller
2021-09-08 17:55 Ulrich Müller
2021-09-06 18:11 Ulrich Müller
2021-03-15 13:15 Ulrich Müller
2021-02-03 13:45 Ulrich Müller
2020-03-03  8:33 Ulrich Müller
2020-02-29 16:15 Ulrich Müller
2020-01-22 19:54 Ulrich Müller
2020-01-09 23:37 Ulrich Müller
2020-01-09 23:37 Ulrich Müller
2019-12-27  9:50 Ulrich Müller
2019-12-27  9:50 Ulrich Müller
2019-12-17 19:07 Ulrich Müller
2019-12-17 19:07 Ulrich Müller
2019-12-17 19:07 Ulrich Müller
2019-12-17 17:22 Ulrich Müller
2019-12-11  6:55 Ulrich Müller
2019-12-03 14:57 Ulrich Müller
2018-06-18 19:48 Ulrich Müller
2018-06-11 22:42 Ulrich Müller
2018-06-11 22:42 Ulrich Müller
2016-05-06  7:59 Ulrich Müller
2016-03-12 12:28 Ulrich Müller
2016-03-12 12:28 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25  9:28 Ulrich Müller
2016-01-25  9:21 Ulrich Müller
2016-01-25  9:21 Ulrich Müller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1582991996.8faabd289b20cb21c739a1915ea9ed22401c5332.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox