summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-12-27 10:39:45 +0100
committerUlrich Müller <ulm@gentoo.org>2019-12-27 10:39:45 +0100
commite83a1319a36e159b7ab010c367ddc117d45eaf5f (patch)
tree6b0a031605d88d29e6953ee2c51e2d61a9c8555c
parentschemas.xml: Use document element to locate devbook.rnc. (diff)
downloadnxml-gentoo-schemas-e83a1319a36e159b7ab010c367ddc117d45eaf5f.tar.gz
nxml-gentoo-schemas-e83a1319a36e159b7ab010c367ddc117d45eaf5f.tar.bz2
nxml-gentoo-schemas-e83a1319a36e159b7ab010c367ddc117d45eaf5f.zip
Makefile: Suppress empty lines in .dep files.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5fe156f..04e04d9 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ $(TARBALL): Makefile LICENCE schemas.xml $(RNCS)
tar cJf $@ $(PN)
.dtd.dep:
- echo > $@
+ 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; \