summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2/base/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/pickit2/base/Makefile.am')
-rw-r--r--src/progs/pickit2/base/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/pickit2/base/Makefile.am b/src/progs/pickit2/base/Makefile.am
index a436012..4ff664e 100644
--- a/src/progs/pickit2/base/Makefile.am
+++ b/src/progs/pickit2/base/Makefile.am
@@ -4,9 +4,9 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libpickit2.la
libpickit2_la_SOURCES = pickit2_data.cpp pickit.cpp pickit_prog.cpp \
pickit2.cpp pickit2_prog.cpp
-libpickit2_la_DEPENDENCIES = pickit2_data.cpp
+libpickit2_la_DEPENDENCIES = $(srcdir)/pickit2_data.cpp
noinst_DATA = pickit2.xml
-pickit2_data.cpp: ../xml/xml_pickit2_parser pickit2.xml
- ../xml/xml_pickit2_parser
+$(srcdir)/pickit2_data.cpp: ../xml/xml_pickit2_parser pickit2.xml
+ cd $(srcdir) && $(abs_builddir)/../xml/xml_pickit2_parser
CLEANFILES = pickit2_data.cpp