[rygel/rygel-0-12] build: Look for xml files in srcdir
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-12] build: Look for xml files in srcdir
- Date: Sat, 22 Oct 2011 05:36:42 +0000 (UTC)
commit 47702e653fe1a62dbcd2ed640d71d0d61dca5685
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Wed Oct 12 11:39:18 2011 +0200
build: Look for xml files in srcdir
data/xml/Makefile.am | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/data/xml/Makefile.am b/data/xml/Makefile.am
index e1d86b9..db06461 100644
--- a/data/xml/Makefile.am
+++ b/data/xml/Makefile.am
@@ -1,5 +1,5 @@
xml_in_files = MediaServer2.xml.in \
- MediaRenderer2.xml.in \
+ MediaRenderer2.xml.in \
ContentDirectory.xml.in \
ConnectionManager.xml.in \
AVTransport2.xml.in \
@@ -9,8 +9,8 @@ xml_in_files = MediaServer2.xml.in \
xml_DATA = $(xml_in_files:.xml.in=.xml)
# Strip newlines and leading spaces from XML files as not all devices like them
-$(xml_DATA): $(xml_in_files) Makefile
- @cat < $(@:.xml=.xml.in) | sed -re "s,^ +,,g" | tr -d "\n" > $@
+%.xml: $(srcdir)/%.xml.in
+ @cat < $< | sed -re "s,^ +,,g" | tr -d "\n" > $@
xmldir = $(datadir)/rygel/xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]