• 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 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/expat.wrap \
23	subprojects/freetype2.wrap \
24	subprojects/glib.wrap \
25	subprojects/libffi.wrap \
26	subprojects/proxy-libintl.wrap \
27	subprojects/zlib.wrap \
28	subprojects/google-benchmark.wrap \
29	perf/meson.build \
30	perf/perf-draw.hh \
31	perf/perf-extents.hh \
32	perf/perf-shaping.hh \
33	perf/perf.cc \
34	perf/fonts/Amiri-Regular.ttf \
35	perf/fonts/NotoNastaliqUrdu-Regular.ttf \
36	perf/fonts/NotoSansDevanagari-Regular.ttf \
37	perf/fonts/Roboto-Regular.ttf \
38	perf/texts/en-thelittleprince.txt \
39	perf/texts/en-words.txt \
40	perf/texts/fa-monologue.txt \
41	perf/texts/fa-thelittleprince.txt \
42	mingw-configure.sh \
43	$(NULL)
44
45MAINTAINERCLEANFILES = \
46	$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
47	$(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
48	$(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
49	$(srcdir)/INSTALL \
50	$(srcdir)/ChangeLog \
51	$(srcdir)/gtk-doc.make \
52	$(srcdir)/m4/gtk-doc.m4 \
53	$(NULL)
54
55
56#
57# ChangeLog generation
58#
59CHANGELOG_RANGE =
60ChangeLog: $(srcdir)/ChangeLog
61$(srcdir)/ChangeLog:
62	$(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \
63	  (GIT_DIR=$(top_srcdir)/.git \
64	   $(GIT) log $(CHANGELOG_RANGE) --stat) > $@.tmp \
65	  && mv -f $@.tmp "$(srcdir)/ChangeLog" \
66	  || ($(RM) $@.tmp; \
67	      echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
68	      (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \
69	else \
70	  test -f $@ || \
71	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
72	  echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \
73	fi
74.PHONY: ChangeLog $(srcdir)/ChangeLog
75
76
77#
78# Release engineering
79#
80
81DISTCHECK_CONFIGURE_FLAGS = \
82	--enable-gtk-doc \
83	--disable-doc-cross-references \
84	--with-gobject \
85	--enable-introspection \
86	$(NULL)
87
88# TAR_OPTIONS is not set as env var for 'make dist'.  How to fix that?
89TAR_OPTIONS = --owner=0 --group=0
90
91dist-hook: dist-clear-sticky-bits
92# Clean up any sticky bits we may inherit from parent dir
93dist-clear-sticky-bits:
94	chmod -R a-s $(distdir)
95
96-include $(top_srcdir)/git.mk
97