diff options
| author | 2017-04-20 14:18:45 +0200 | |
|---|---|---|
| committer | 2017-04-20 14:18:45 +0200 | |
| commit | 29bed91a801f500dbc8f761b0bc330d90d0ed0ee (patch) | |
| tree | 4ffc3cf35c4f2f98baea39c9f24b9ed46a4a59d6 | |
| parent | 054578a2d842f53a061c0a6ddaf6bfc849be0738 (diff) | |
| download | libplist-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.
| -rw-r--r-- | cython/Makefile.am | 5 |
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 | |||
| 3 | AM_CFLAGS = $(GLOBAL_CFLAGS) | 3 | AM_CFLAGS = $(GLOBAL_CFLAGS) |
| 4 | AM_LDFLAGS = $(GLOBAL_LDFLAGS) | 4 | AM_LDFLAGS = $(GLOBAL_LDFLAGS) |
| 5 | 5 | ||
| 6 | EXTRA_DIST = plist.pyx plist.pxd | ||
| 7 | |||
| 6 | if HAVE_CYTHON | 8 | if HAVE_CYTHON |
| 7 | 9 | ||
| 8 | BUILT_SOURCES = plist.c | 10 | BUILT_SOURCES = plist.c |
| 9 | PXDINCLUDES = plist.pxd $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd | 11 | PXDINCLUDES = plist.pxd $(CYTHON_PLIST_INCLUDE_DIR)/plist.pxd |
| 10 | PXIINCLUDES = | ||
| 11 | 12 | ||
| 12 | CLEANFILES = \ | 13 | CLEANFILES = \ |
| 13 | *.pyc \ | 14 | *.pyc \ |
| 14 | *.pyo \ | 15 | *.pyo \ |
| 15 | plist.c | 16 | plist.c |
| 16 | 17 | ||
| 17 | EXTRA_DIST = plist.pyx plist.pxd $(PXIINCLUDES) | ||
| 18 | |||
| 19 | plistdir = $(pyexecdir) | 18 | plistdir = $(pyexecdir) |
| 20 | plist_LTLIBRARIES = plist.la | 19 | plist_LTLIBRARIES = plist.la |
| 21 | plist_la_SOURCES = plist_util.c plist_util.h plist.pyx | 20 | plist_la_SOURCES = plist_util.c plist_util.h plist.pyx |
