summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit1/base/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/pickit1/base/Makefile.am')
-rw-r--r--src/progs/pickit1/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/pickit1/base/Makefile.am b/src/progs/pickit1/base/Makefile.am
index 74d56f0..b56cb72 100644
--- a/src/progs/pickit1/base/Makefile.am
+++ b/src/progs/pickit1/base/Makefile.am
@@ -3,9 +3,9 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libpickit1.la
libpickit1_la_SOURCES = pickit1.cpp pickit1_prog.cpp pickit1_data.cpp
-libpickit1_la_DEPENDENCIES = pickit1_data.cpp
+libpickit1_la_DEPENDENCIES = $(srcdir)/pickit1_data.cpp
noinst_DATA = pickit1.xml
-pickit1_data.cpp: ../xml/xml_pickit1_parser pickit1.xml
- ../xml/xml_pickit1_parser
+$(srcdir)/pickit1_data.cpp: ../xml/xml_pickit1_parser pickit1.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_pickit1_parser
CLEANFILES = pickit1_data.cpp