summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit1/base/Makefile.am
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-06 18:26:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-07 11:02:46 +0900
commit014e4b95648f2b8e7deb57acb0cdd8cefc363477 (patch)
tree02ced501daff512fed5126427f57eca6c2ef3630 /src/progs/pickit1/base/Makefile.am
parentf2e2d9a5271aa9cfd966592d50f60d5b5bf550f4 (diff)
downloadpiklab-014e4b95648f2b8e7deb57acb0cdd8cefc363477.tar.gz
piklab-014e4b95648f2b8e7deb57acb0cdd8cefc363477.zip
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 <michele.calgaro@yahoo.it> (cherry picked from commit ac3f0014232619edc41865f6e42e6510bdd8acc6)
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 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