summaryrefslogtreecommitdiffstats
path: root/src/devices
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-05-01 12:25:28 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-05-01 12:25:41 +0200
commitbde536dd378bd00f5ef7e66ec9d9284719728d1d (patch)
treedb15556f12834118db91ae353d7661f28463c92c /src/devices
parentf256aed8c9534e829dc1d6f7ab8dfe66aed92668 (diff)
downloadpiklab-bde536dd378bd00f5ef7e66ec9d9284719728d1d.tar.gz
piklab-bde536dd378bd00f5ef7e66ec9d9284719728d1d.zip
Fix build out-of-source
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9f4064c1e558a946ea30ab93bd132745abe80a39)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/pic/xml_data/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/pic/xml_data/Makefile.am b/src/devices/pic/xml_data/Makefile.am
index 43b13d4..e5bd5c4 100644
--- a/src/devices/pic/xml_data/Makefile.am
+++ b/src/devices/pic/xml_data/Makefile.am
@@ -3,10 +3,10 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libpicxml.la
libpicxml_la_SOURCES = pic_data.cpp
-libpicxml_la_DEPENDENCIES = pic_data.cpp
+libpicxml_la_DEPENDENCIES = $(srcdir)/pic_data.cpp
include deps.mak
noinst_DATA += registers/registers.xml registers/registers_missing.xml
-pic_data.cpp: ../xml/pic_xml_to_data $(noinst_DATA)
- ../xml/pic_xml_to_data
+$(srcdir)/pic_data.cpp: ../xml/pic_xml_to_data $(noinst_DATA)
+ cd $(srcdir) && $(abs_builddir)/../xml/pic_xml_to_data
CLEANFILES = pic_data.cpp