1 # Process this file with automake to produce Makefile.in
5 SUBDIRS = src util test
7 pkgconfigdir = $(libdir)/pkgconfig
8 pkgconfig_DATA = harfbuzz.pc
15 MAINTAINERCLEANFILES = \
17 $(srcdir)/aclocal.m4 \
18 $(srcdir)/autoscan.log \
20 $(srcdir)/config.guess \
21 $(srcdir)/config.h.in \
22 $(srcdir)/config.sub \
23 $(srcdir)/configure.scan \
25 $(srcdir)/install-sh \
28 $(srcdir)/mkinstalldirs \
30 `find "$(srcdir)" -type f -name Makefile.in -print`
34 # ChangeLog generation
38 $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \
39 (GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \
40 git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \
41 && mv -f $@.tmp "$(srcdir)/ChangeLog" \
43 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
44 (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \
47 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
48 echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \
50 .PHONY: $(srcdir)/ChangeLog
57 # TODO: Copy infrastructure from cairo
59 TAR_OPTIONS = --owner=0 --group=0
60 dist-hook: dist-clear-sticky-bits
61 # Clean up any sticky bits we may inherit from parent dir
62 dist-clear-sticky-bits:
63 chmod -R a-s $(distdir)
66 tar_file = $(PACKAGE_TARNAME)-$(VERSION).tar.bz2
67 sha256_file = $(tar_file).sha256
68 gpg_file = $(sha256_file).asc
69 $(sha256_file): $(tar_file)
71 $(gpg_file): $(sha256_file)
72 @echo "Please enter your GPG password to sign the checksum."
75 release-files: $(tar_file) $(sha256_file) $(gpg_file)
78 -include $(top_srcdir)/git.mk