Ebrahim Byagowi | 5193357 | 2020-08-11 23:51:59 +0430 | [diff] [blame] | 1 | # Process this file with automake to produce Makefile.in |
| 2 | |
| 3 | NULL = |
| 4 | |
| 5 | ACLOCAL_AMFLAGS = -I m4 |
| 6 | |
Behdad Esfahbod | 217d38d | 2022-04-29 16:18:17 -0600 | [diff] [blame] | 7 | SUBDIRS = src util test perf docs |
Ebrahim Byagowi | 5193357 | 2020-08-11 23:51:59 +0430 | [diff] [blame] | 8 | |
| 9 | EXTRA_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 Byagowi | 2af58c3 | 2020-08-12 00:51:07 +0430 | [diff] [blame] | 18 | CMakeLists.txt \ |
| 19 | replace-enum-strings.cmake \ |
Ebrahim Byagowi | 5193357 | 2020-08-11 23:51:59 +0430 | [diff] [blame] | 20 | meson.build \ |
| 21 | meson_options.txt \ |
Khaled Hosny | fac0bc7 | 2021-05-26 14:44:58 +0200 | [diff] [blame] | 22 | subprojects/cairo.wrap \ |
Ebrahim Byagowi | 5193357 | 2020-08-11 23:51:59 +0430 | [diff] [blame] | 23 | subprojects/freetype2.wrap \ |
| 24 | subprojects/glib.wrap \ |
Ebrahim Byagowi | 5193357 | 2020-08-11 23:51:59 +0430 | [diff] [blame] | 25 | subprojects/google-benchmark.wrap \ |
Khaled Hosny | 22cbd03 | 2021-09-14 12:34:25 +0200 | [diff] [blame] | 26 | subprojects/ragel.wrap \ |
| 27 | subprojects/packagefiles/ragel/meson.build \ |
Behdad Esfahbod | e05e560 | 2021-01-24 12:28:04 -0700 | [diff] [blame] | 28 | mingw-configure.sh \ |
Ebrahim Byagowi | 5193357 | 2020-08-11 23:51:59 +0430 | [diff] [blame] | 29 | $(NULL) |
| 30 | |
| 31 | MAINTAINERCLEANFILES = \ |
| 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 | # |
| 45 | CHANGELOG_RANGE = |
| 46 | ChangeLog: $(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 | |
| 67 | DISTCHECK_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? |
| 75 | TAR_OPTIONS = --owner=0 --group=0 |
| 76 | |
| 77 | dist-hook: dist-clear-sticky-bits |
| 78 | # Clean up any sticky bits we may inherit from parent dir |
| 79 | dist-clear-sticky-bits: |
| 80 | chmod -R a-s $(distdir) |
| 81 | |
| 82 | -include $(top_srcdir)/git.mk |