forked from gargsms/libvips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
56 lines (48 loc) · 940 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# turn on Python if we can
if HAVE_PYTHON
P_COMPILE_DIR = swig
P_DIST_DIR =
else
P_COMPILE_DIR =
P_DIST_DIR = swig
endif
# turn on vips8 Python if we can
if ENABLE_PYVIPS8
P8_COMPILE_DIR = python
P8_DIST_DIR =
else
P8_COMPILE_DIR =
P8_DIST_DIR = python
endif
SUBDIRS = \
libvips \
libvipsCC \
cplusplus \
tools \
po \
man \
doc \
test \
$(P_COMPILE_DIR) \
$(P8_COMPILE_DIR)
EXTRA_DIST = \
m4 \
benchmark \
autogen.sh \
vips.pc.in \
vipsCC.pc.in \
vips-cpp.pc.in \
libvips.supp \
depcomp \
README.md \
$(P_DIST_DIR) \
$(P8_DIST_DIR)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = vips.pc vipsCC.pc vips-cpp.pc
dist-hook:
# make sure we don't get any .svn dirs from EXTRA_DIST
# also "fred" gets left around occasionally
-find $(distdir) -name .svn -exec rm -rf {} \;
-find $(distdir) -name fred -exec rm {} \;
ACLOCAL_AMFLAGS = -I m4
DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-introspection