diff options
Diffstat (limited to 'src/progs/pickit1')
-rw-r--r-- | src/progs/pickit1/base/Makefile.am | 6 | ||||
-rw-r--r-- | src/progs/pickit1/xml/xml_pickit1_parser.cpp | 2 |
2 files changed, 4 insertions, 4 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 diff --git a/src/progs/pickit1/xml/xml_pickit1_parser.cpp b/src/progs/pickit1/xml/xml_pickit1_parser.cpp index 1fd09cf..9179652 100644 --- a/src/progs/pickit1/xml/xml_pickit1_parser.cpp +++ b/src/progs/pickit1/xml/xml_pickit1_parser.cpp @@ -15,7 +15,7 @@ namespace Pickit1 class XmlToData : public Programmer::XmlToData<Data> { public: - XmlToData() : Programmer::XmlToData<Data>("pickit1", "Pickit1") {} + XmlToData(const TQString &folder) : Programmer::XmlToData<Data>(folder, "pickit1", "Pickit1") {} private: virtual void parseData(TQDomElement element, Data &data); |