1 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
3 # The libs directory needs to be before anything which can depend on its
4 # libraries, otherwise any potentially rebuilt libs won't be picked up until
5 # the next run of make.
24 pkgconfigdir = $(libdir)/pkgconfig
25 pkgconfig_DATA = gegl-$(GEGL_API_VERSION).pc
27 built_dist_files = README
32 gegl-uninstalled.pc.in \
36 # DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
44 README: all docs/index.html
45 $(W3M) -cols 72 -dump docs/index.html > $@
48 @echo "*** w3m must be available in order to make dist"
52 dist-hook: dist-check-w3m
55 $(MAKE) -C docs website
58 ### ChangeLog generation
60 CHANGELOG_START = 5e2cc2146486ce0c1ebc0cbf68770dafafcb123f
62 ChangeLog: $(srcdir)/ChangeLog
65 @if test -d "$(srcdir)/.git"; then \
66 (GIT_DIR=$(top_srcdir)/.git ./missing --run \
67 git log $(CHANGELOG_START)^.. --stat) | fmt --split-only > $@.tmp \
70 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
71 (test -f $@ || echo git-log is required to generate this file >> $@)); \
74 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
75 echo A git checkout and git-log is required to generate this file >> $@); \
77 .PHONY: $(srcdir)/ChangeLog