public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/nxml-libvirt-schemas/files/, app-emacs/nxml-libvirt-schemas/
@ 2023-04-13  7:55 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2023-04-13  7:55 UTC (permalink / raw
  To: gentoo-commits

commit:     b49e8a26165cc7738f9ceb2d10299db27f89cf45
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 13 07:54:06 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Apr 13 07:54:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49e8a26

app-emacs/nxml-libvirt-schemas: Inline files/Makefile-trang in ebuild

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

 app-emacs/nxml-libvirt-schemas/files/Makefile-trang              | 6 ------
 app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.8.0.ebuild | 8 ++++++--
 app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild | 8 ++++++--
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/app-emacs/nxml-libvirt-schemas/files/Makefile-trang b/app-emacs/nxml-libvirt-schemas/files/Makefile-trang
deleted file mode 100644
index 699cf676ff45..000000000000
--- a/app-emacs/nxml-libvirt-schemas/files/Makefile-trang
+++ /dev/null
@@ -1,6 +0,0 @@
-# -*- makefile -*-
-
-all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
-
-%.rnc: %.rng
-	trang -I rng -O rnc $< $@

diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.8.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.8.0.ebuild
index 1c0188f9655a..cdedf3214219 100644
--- a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.8.0.ebuild
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,11 @@ BDEPEND="app-text/trang"
 SITEFILE="60${PN}-gentoo.el"
 
 src_compile() {
-	emake -f "${FILESDIR}"/Makefile-trang
+	emake -f - <<'EOF'
+all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
+%.rnc: %.rng
+	trang -I rng -O rnc $< $@
+EOF
 }
 
 src_install() {

diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild
index 1c0188f9655a..cdedf3214219 100644
--- a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,11 @@ BDEPEND="app-text/trang"
 SITEFILE="60${PN}-gentoo.el"
 
 src_compile() {
-	emake -f "${FILESDIR}"/Makefile-trang
+	emake -f - <<'EOF'
+all: $(patsubst %.rng,%.rnc,$(wildcard *.rng))
+%.rnc: %.rng
+	trang -I rng -O rnc $< $@
+EOF
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-13  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-13  7:55 [gentoo-commits] repo/gentoo:master commit in: app-emacs/nxml-libvirt-schemas/files/, app-emacs/nxml-libvirt-schemas/ Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox