A bit more "make dist"-able.

- Use DIST_SUBDIRS to dist subdirectories even if these are not
  configured
- Do not run swig on "make dist"
- Add some extra files

Now bindings subdir should "make dist" nicely.

TODO on build system is still:
- say 'bye bye' to lib/javascript sources (or autotoolize)
- fix 'doc/scripting' to be able to build outside sources
This commit is contained in:
Luca Bigliardi
2009-04-24 02:04:24 +02:00
parent 6438ed4c43
commit 015c608b0f
6 changed files with 32 additions and 5 deletions
+3 -2
View File
@@ -7,13 +7,14 @@ BUILT_SOURCES = freej_py.cpp
freej_py.cpp: $(top_srcdir)/bindings/freej.i
@SWIG_COMMAND@ -python -threads -shadow -o freej_py.cpp @SWIG_IFACE@
pkgpython_PYTHON = freej.py __init__.py
pkgpython_PYTHON = __init__.py
nodist_pkgpython_PYTHON = freej.py
pkgpyexec_LTLIBRARIES = _freej.la
pkgpython_instdir = $(pythondir)
#pkgpython_inst_PYTHON = freej.pth
_freej_la_SOURCES = freej_py.cpp
nodist__freej_la_SOURCES = freej_py.cpp
_freej_la_CXXFLAGS = $(FREEJ_FLAGS) @PYTHON_CPPFLAGS@
_freej_la_LDFLAGS = -module -avoid-version
_freej_la_LIBADD = $(PY_LIBS) -L$(top_builddir)/src/.libs -lfreej