blob: c14b4b7c20c3b9ad9eceb33351432954825137ea [file] [log] [blame]
Ebrahim Byagowi51933572020-08-11 23:51:59 +04301# Process this file with automake to produce Makefile.in
2
3NULL =
4
5ACLOCAL_AMFLAGS = -I m4
6
Behdad Esfahbod217d38d2022-04-29 16:18:17 -06007SUBDIRS = src util test perf docs
Ebrahim Byagowi51933572020-08-11 23:51:59 +04308
9EXTRA_DIST = \
10 autogen.sh \
11 harfbuzz.doap \
12 README.md \
13 README.python.md \
14 BUILD.md \
15 CONFIG.md \
16 RELEASING.md \
17 TESTING.md \
Ebrahim Byagowi2af58c32020-08-12 00:51:07 +043018 CMakeLists.txt \
19 replace-enum-strings.cmake \
Ebrahim Byagowi51933572020-08-11 23:51:59 +043020 meson.build \
21 meson_options.txt \
Khaled Hosnyfac0bc72021-05-26 14:44:58 +020022 subprojects/cairo.wrap \
Ebrahim Byagowi51933572020-08-11 23:51:59 +043023 subprojects/freetype2.wrap \
24 subprojects/glib.wrap \
Ebrahim Byagowi51933572020-08-11 23:51:59 +043025 subprojects/google-benchmark.wrap \
Khaled Hosny22cbd032021-09-14 12:34:25 +020026 subprojects/ragel.wrap \
27 subprojects/packagefiles/ragel/meson.build \
Behdad Esfahbode05e5602021-01-24 12:28:04 -070028 mingw-configure.sh \
Ebrahim Byagowi51933572020-08-11 23:51:59 +043029 $(NULL)
30
31MAINTAINERCLEANFILES = \
32 $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
33 $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
34 $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
35 $(srcdir)/INSTALL \
36 $(srcdir)/ChangeLog \
37 $(srcdir)/gtk-doc.make \
38 $(srcdir)/m4/gtk-doc.m4 \
39 $(NULL)
40
41
42#
43# ChangeLog generation
44#
45CHANGELOG_RANGE =
46ChangeLog: $(srcdir)/ChangeLog
47$(srcdir)/ChangeLog:
48 $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \
49 (GIT_DIR=$(top_srcdir)/.git \
50 $(GIT) log $(CHANGELOG_RANGE) --stat) > $@.tmp \
51 && mv -f $@.tmp "$(srcdir)/ChangeLog" \
52 || ($(RM) $@.tmp; \
53 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
54 (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \
55 else \
56 test -f $@ || \
57 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
58 echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \
59 fi
60.PHONY: ChangeLog $(srcdir)/ChangeLog
61
62
63#
64# Release engineering
65#
66
67DISTCHECK_CONFIGURE_FLAGS = \
68 --enable-gtk-doc \
69 --disable-doc-cross-references \
70 --with-gobject \
71 --enable-introspection \
72 $(NULL)
73
74# TAR_OPTIONS is not set as env var for 'make dist'. How to fix that?
75TAR_OPTIONS = --owner=0 --group=0
76
77dist-hook: dist-clear-sticky-bits
78# Clean up any sticky bits we may inherit from parent dir
79dist-clear-sticky-bits:
80 chmod -R a-s $(distdir)
81
82-include $(top_srcdir)/git.mk