• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Process this file with automake to produce Makefile.in
2
3NULL =
4
5ACLOCAL_AMFLAGS = -I m4
6
7SUBDIRS = src util test perf docs
8
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 \
18	CMakeLists.txt \
19	replace-enum-strings.cmake \
20	meson.build \
21	meson_options.txt \
22	subprojects/cairo.wrap \
23	subprojects/freetype2.wrap \
24	subprojects/glib.wrap \
25	subprojects/google-benchmark.wrap \
26	subprojects/ragel.wrap \
27	subprojects/packagefiles/ragel/meson.build \
28	mingw-configure.sh \
29	$(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
83