From 014e4b95648f2b8e7deb57acb0cdd8cefc363477 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 May 2024 18:26:24 +0900 Subject: Allow generation of build time data files in out-of-source builds. Also fix generation of data file for devices/mem24 subfolder Signed-off-by: Michele Calgaro (cherry picked from commit ac3f0014232619edc41865f6e42e6510bdd8acc6) --- src/progs/pickit1/base/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/progs/pickit1/base') diff --git a/src/progs/pickit1/base/Makefile.am b/src/progs/pickit1/base/Makefile.am index b56cb72..2ae3747 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 = $(srcdir)/pickit1_data.cpp +libpickit1_la_DEPENDENCIES = pickit1_data.cpp noinst_DATA = pickit1.xml -$(srcdir)/pickit1_data.cpp: ../xml/xml_pickit1_parser pickit1.xml - cd $(srcdir) && $(abs_builddir)/../xml/xml_pickit1_parser +pickit1_data.cpp: ../xml/xml_pickit1_parser pickit1.xml + cd $(abs_builddir) && ./../xml/xml_pickit1_parser $(srcdir) CLEANFILES = pickit1_data.cpp -- cgit v1.2.1