diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-04-13 09:54:06 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-04-13 09:54:06 +0200 |
commit | b49e8a26165cc7738f9ceb2d10299db27f89cf45 (patch) | |
tree | 0e7bd163bbd0e73bda05b8889eb84bbde76a854c /app-emacs/nxml-libvirt-schemas | |
parent | app-misc/pdfpc: Fix compile failure with USE=-gstreamer (diff) | |
download | gentoo-b49e8a26165cc7738f9ceb2d10299db27f89cf45.tar.gz gentoo-b49e8a26165cc7738f9ceb2d10299db27f89cf45.tar.bz2 gentoo-b49e8a26165cc7738f9ceb2d10299db27f89cf45.zip |
app-emacs/nxml-libvirt-schemas: Inline files/Makefile-trang in ebuild
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs/nxml-libvirt-schemas')
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() { |