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] repo/gentoo:master commit in: app-emacs/nxml-libvirt-schemas/files/, app-emacs/nxml-libvirt-schemas/
Date: Thu, 13 Apr 2023 07:55:00 +0000 (UTC)	[thread overview]
Message-ID: <1681372446.b49e8a26165cc7738f9ceb2d10299db27f89cf45.ulm@gentoo> (raw)

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() {


                 reply	other threads:[~2023-04-13  7:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1681372446.b49e8a26165cc7738f9ceb2d10299db27f89cf45.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