forked from OpenCL/GEGL-OpenCL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
77 lines (62 loc) · 1.67 KB
/
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
# The libs directory needs to be before anything which can depend on its
# libraries, otherwise any potentially rebuilt libs won't be picked up until
# the next run of make.
SUBDIRS=\
libs \
opencl \
gegl \
libs/npd \
seamless-clone \
operations \
bin \
tools \
examples \
tests \
perf \
po
if ENABLE_DOCS
SUBDIRS+= docs
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gegl-$(GEGL_API_VERSION).pc
built_dist_files = README
EXTRA_DIST = \
$(built_dist_files) \
autogen.sh \
gegl-uninstalled.pc.in \
m4/introspection.m4 \
gegl.pc.in
# DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
DISTCLEANFILES = \
$(built_dist_files)
if HAVE_W3M
dist-check-w3m:
README: all docs/index.html
$(W3M) -cols 72 -dump docs/index.html > $@
else
dist-check-w3m:
@echo "*** w3m must be available in order to make dist"
@false
endif
dist-hook: dist-check-w3m
website: all
$(MAKE) -C docs website
### ChangeLog generation
CHANGELOG_START = 5e2cc2146486ce0c1ebc0cbf68770dafafcb123f
ChangeLog: $(srcdir)/ChangeLog
$(srcdir)/ChangeLog:
@echo Creating $@
@if test -d "$(srcdir)/.git"; then \
(GIT_DIR=$(top_srcdir)/.git ./missing --run \
git log $(CHANGELOG_START)^.. --stat) | fmt --split-only > [email protected] \
&& mv -f [email protected] $@ \
|| ($(RM) [email protected]; \
echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
(test -f $@ || echo git-log is required to generate this file >> $@)); \
else \
test -f $@ || \
(echo A git checkout and git-log is required to generate ChangeLog >&2 && \
echo A git checkout and git-log is required to generate this file >> $@); \
fi
.PHONY: $(srcdir)/ChangeLog