summaryrefslogtreecommitdiffstats
path: root/src/progs/icd1/base/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/icd1/base/Makefile.am')
-rw-r--r--src/progs/icd1/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/icd1/base/Makefile.am b/src/progs/icd1/base/Makefile.am
index 3795dc5..d289cc6 100644
--- a/src/progs/icd1/base/Makefile.am
+++ b/src/progs/icd1/base/Makefile.am
@@ -3,9 +3,9 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libicd1.la
libicd1_la_SOURCES = icd1.cpp icd1_prog.cpp icd1_serial.cpp icd1_data.cpp
-libicd1_la_DEPENDENCIES = icd1_data.cpp
+libicd1_la_DEPENDENCIES = $(srcdir)/icd1_data.cpp
noinst_DATA = icd1.xml
-icd1_data.cpp: ../xml/xml_icd1_parser icd1.xml
- ../xml/xml_icd1_parser
+$(srcdir)/icd1_data.cpp: ../xml/xml_icd1_parser icd1.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_icd1_parser
CLEANFILES = icd1_data.cpp