]> sigrok.org Git - libsigrok.git/commitdiff
Fix problem building with BSD make
authorUffe Jakobsen <redacted>
Tue, 10 Feb 2015 13:09:28 +0000 (14:09 +0100)
committerUwe Hermann <redacted>
Tue, 10 Feb 2015 14:14:08 +0000 (15:14 +0100)
This fixes bug #556:

Bug 556 - libsigrok fails to build with BSD Make

Makefile.am

index 319f932910460ab61010368a5dcd6e5caf8f432e..65212ce674f8e721f2d71469562bf353928f8e85 100644 (file)
@@ -458,9 +458,9 @@ bindings/cxx/enums.cpp: bindings/cxx/enums.timestamp
 
 bindings/cxx/include/libsigrokcxx/enums.hpp: bindings/cxx/enums.timestamp
 
-bindings/cxx/enums.timestamp: bindings/cxx/enums.py doxy/xml/index.xml \
+bindings/cxx/enums.timestamp: $(srcdir)/bindings/cxx/enums.py doxy/xml/index.xml \
                bindings/cxx/ConfigKey_methods.cpp bindings/cxx/QuantityFlag_methods.cpp
-       $(AM_V_GEN)$(PYTHON) $< doxy/xml/index.xml
+       $(AM_V_GEN)$(PYTHON) $(srcdir)/bindings/cxx/enums.py doxy/xml/index.xml
        $(AM_V_at)touch $@
 
 bindings/cxx/classes.lo: bindings/cxx/classes.cpp bindings/cxx/enums.cpp \