summaryrefslogtreecommitdiff
path: root/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild')
-rw-r--r--app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.9.0.ebuild8
1 files changed, 6 insertions, 2 deletions
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() {