summaryrefslogtreecommitdiffstats
path: root/src/devices/mem24
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/mem24')
-rw-r--r--src/devices/mem24/xml/mem24_xml_to_data.cpp3
-rw-r--r--src/devices/mem24/xml_data/Makefile.am2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/devices/mem24/xml/mem24_xml_to_data.cpp b/src/devices/mem24/xml/mem24_xml_to_data.cpp
index d2a4da5..43f3ba5 100644
--- a/src/devices/mem24/xml/mem24_xml_to_data.cpp
+++ b/src/devices/mem24/xml/mem24_xml_to_data.cpp
@@ -18,6 +18,9 @@ namespace Mem24
class XmlToData : public Device::XmlToData<Data>
{
+public:
+ XmlToData(const TQString &folder) : Device::XmlToData<Data>(folder) {}
+
private:
virtual uint nbOutputFiles(uint) const { return 1; }
virtual bool isIncluded(uint, uint) const { return true; }
diff --git a/src/devices/mem24/xml_data/Makefile.am b/src/devices/mem24/xml_data/Makefile.am
index 42cacaa..1b42fae 100644
--- a/src/devices/mem24/xml_data/Makefile.am
+++ b/src/devices/mem24/xml_data/Makefile.am
@@ -8,5 +8,5 @@ libmem24xml_la_DEPENDENCIES = mem24_data.cpp
include deps.mak
mem24_data.cpp: ../xml/mem24_xml_to_data $(noinst_DATA)
- ../xml/mem24_xml_to_data
+ cd $(abs_builddir) && ./../xml/mem24_xml_to_data $(srcdir)
CLEANFILES = mem24_data.cpp