1 # Process this file with automake to produce Makefile.in
5 ACLOCAL_AMFLAGS = -I m4
7 SUBDIRS = src util test docs
19 replace-enum-strings.cmake \
22 subprojects/expat.wrap \
23 subprojects/fontconfig.wrap \
24 subprojects/freetype2.wrap \
25 subprojects/glib.wrap \
26 subprojects/libffi.wrap \
27 subprojects/proxy-libintl.wrap \
28 subprojects/zlib.wrap \
29 meson-cc-tests/intel-atomic-primitives-test.c \
30 meson-cc-tests/solaris-atomic-operations.c \
33 MAINTAINERCLEANFILES = \
34 $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
35 $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \
36 $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \
39 $(srcdir)/gtk-doc.make \
40 $(srcdir)/m4/gtk-doc.m4 \
45 # ChangeLog generation
48 ChangeLog: $(srcdir)/ChangeLog
50 $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \
51 (GIT_DIR=$(top_srcdir)/.git \
52 $(GIT) log $(CHANGELOG_RANGE) --stat) > $@.tmp \
53 && mv -f $@.tmp "$(srcdir)/ChangeLog" \
55 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
56 (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \
59 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
60 echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \
62 .PHONY: ChangeLog $(srcdir)/ChangeLog
69 DISTCHECK_CONFIGURE_FLAGS = \
71 --disable-doc-cross-references \
73 --enable-introspection \
76 # TAR_OPTIONS is not set as env var for 'make dist'. How to fix that?
77 TAR_OPTIONS = --owner=0 --group=0
79 dist-hook: dist-clear-sticky-bits
80 # Clean up any sticky bits we may inherit from parent dir
81 dist-clear-sticky-bits:
82 chmod -R a-s $(distdir)
84 tar_file = $(PACKAGE_TARNAME)-$(VERSION).tar.xz
85 sha256_file = $(tar_file).sha256
86 gpg_file = $(sha256_file).asc
87 $(sha256_file): $(tar_file)
89 $(gpg_file): $(sha256_file)
90 @echo "Please enter your GPG password to sign the checksum."
93 release-files: $(tar_file) $(sha256_file) $(gpg_file)
95 -include $(top_srcdir)/git.mk