summaryrefslogtreecommitdiffstats
path: root/cython
diff options
context:
space:
mode:
authorGravatar Christophe Fergeau2017-04-20 14:18:45 +0200
committerGravatar Nikias Bassen2017-04-20 14:18:45 +0200
commit29bed91a801f500dbc8f761b0bc330d90d0ed0ee (patch)
tree4ffc3cf35c4f2f98baea39c9f24b9ed46a4a59d6 /cython
parent054578a2d842f53a061c0a6ddaf6bfc849be0738 (diff)
downloadlibplist-29bed91a801f500dbc8f761b0bc330d90d0ed0ee.tar.gz
libplist-29bed91a801f500dbc8f761b0bc330d90d0ed0ee.tar.bz2
build: Make sure plist.pxd is included in tarballs
When generating a tarball on a system without cython installed, plist.pxd was missing, causing build failures later on when trying to use cython. This seems to be caused by EXTRA_DIST being inside a if HAVE_CYTHON block rather than being outside of it.
Diffstat (limited to 'cython')
-rw-r--r--cython/Makefile.am5
1 files changed, 2 insertions, 3 deletions
diff --git a/cython/Makefile.am b/cython/Makefile.am
index 544428d..fe4330e 100644
--- a/cython/Makefile.am
+++ b/cython/Makefile.am
@@ -3,19 +3,18 @@ AM_CPPFLAGS = -I$(top_srcdir)/include
AM_CFLAGS = $(GLOBAL_CFLAGS)
AM_LDFLAGS = $(GLOBAL_LDFLAGS)
+EXTRA_DIST = plist.pyx plist.pxd
+
if HAVE_CYTHON
BUILT_SOURCES = plist.c
PXDINCLUDES = plist.pxd $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd
-PXIINCLUDES =
CLEANFILES = \
*.pyc \
*.pyo \
plist.c
-EXTRA_DIST = plist.pyx plist.pxd $(PXIINCLUDES)
-
plistdir = $(pyexecdir)
plist_LTLIBRARIES = plist.la
plist_la_SOURCES = plist_util.c plist_util.h plist.pyx