You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
--- a/bindings/python/Makefile.am
|
|
+++ b/bindings/python/Makefile.am
|
|
@@ -4,8 +4,8 @@
|
|
# Created by Linas Vepstas February 2014
|
|
#
|
|
#
|
|
-SWIG_SOURCES = ../swig/link_grammar.i
|
|
-SWIG_INCLUDES = ../../link-grammar/link-includes.h
|
|
+SWIG_SOURCES = $(top_srcdir)/bindings/swig/link_grammar.i
|
|
+SWIG_INCLUDES = $(top_srcdir)/link-grammar/link-includes.h
|
|
built_c_sources = lg_python_wrap.cc
|
|
built_py_sources = $(top_builddir)/bindings/python/clinkgrammar.py
|
|
|
|
@@ -18,16 +18,16 @@
|
|
|
|
# Files that get installed in $pkgpythondir
|
|
pkgpython_PYTHON = \
|
|
- linkgrammar.py \
|
|
+ $(srcdir)/linkgrammar.py \
|
|
$(top_builddir)/bindings/python/__init__.py \
|
|
- $(top_builddir)/bindings/python/clinkgrammar.py
|
|
+ $(built_py_sources)
|
|
|
|
# Apparently, anaconda does not work without this!?
|
|
# This seems wrong and lame to me, but see issue #298
|
|
# https://github.com/opencog/link-grammar/issues/298
|
|
pkgpypathdir=$(pythondir)
|
|
pkgpypath_PYTHON = \
|
|
- linkgrammar.pth
|
|
+ $(srcdir)/linkgrammar.pth
|
|
|
|
# The make uninstall target should remove directories we created.
|
|
uninstall-hook:
|