1 |
commit: e83a1319a36e159b7ab010c367ddc117d45eaf5f |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 27 09:39:45 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 27 09:39:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=e83a1319 |
7 |
|
8 |
Makefile: Suppress empty lines in .dep files. |
9 |
|
10 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
11 |
|
12 |
Makefile | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/Makefile b/Makefile |
16 |
index 5fe156f..04e04d9 100644 |
17 |
--- a/Makefile |
18 |
+++ b/Makefile |
19 |
@@ -33,7 +33,7 @@ $(TARBALL): Makefile LICENCE schemas.xml $(RNCS) |
20 |
tar cJf $@ $(PN) |
21 |
|
22 |
.dtd.dep: |
23 |
- echo > $@ |
24 |
+ echo -n > $@ |
25 |
sed -n -e '/ENTITY/s|<!ENTITY % \w\+ SYSTEM "\(.*\)\.dtd">|\1|p' $< | \ |
26 |
while read dep; do \ |
27 |
echo "$(patsubst %.dtd,%.rnc,$<): $$dep.rnc $$dep.dtd" >> $@ || exit 1; \ |