1# Process this file with automake to produce Makefile.in 2 3NULL = 4 5ACLOCAL_AMFLAGS = -I m4 6 7SUBDIRS = src util test 8 9pkgconfigdir = $(libdir)/pkgconfig 10pkgconfig_DATA = harfbuzz.pc 11 12EXTRA_DIST = \ 13 autogen.sh \ 14 harfbuzz.doap \ 15 Android.mk \ 16 $(NULL) 17 18MAINTAINERCLEANFILES = \ 19 $(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \ 20 $(GITIGNORE_MAINTAINERCLEANFILES_M4_LIBTOOL) \ 21 $(GITIGNORE_MAINTAINERCLEANFILES_MAKEFILE_IN) \ 22 $(srcdir)/INSTALL \ 23 $(srcdir)/ChangeLog \ 24 $(NULL) 25 26 27# 28# ChangeLog generation 29# 30CHANGELOG_RANGE = 31ChangeLog: 32 $(AM_V_GEN) if test -d "$(top_srcdir)/.git"; then \ 33 (GIT_DIR=$(top_srcdir)/.git $(top_srcdir)/missing --run \ 34 git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \ 35 && mv -f $@.tmp "$(srcdir)/ChangeLog" \ 36 || ($(RM) $@.tmp; \ 37 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ 38 (test -f $@ || echo git-log is required to generate this file >> "$(srcdir)/$@")); \ 39 else \ 40 test -f $@ || \ 41 (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ 42 echo A git checkout and git-log is required to generate this file >> "$(srcdir)/$@"); \ 43 fi 44.PHONY: $(srcdir)/ChangeLog 45 46 47# 48# Release engineering 49# 50 51# TODO: Copy infrastructure from cairo 52 53TAR_OPTIONS = --owner=0 --group=0 54dist-hook: dist-clear-sticky-bits 55# Clean up any sticky bits we may inherit from parent dir 56dist-clear-sticky-bits: 57 chmod -R a-s $(distdir) 58 59 60tar_file = $(PACKAGE_TARNAME)-$(VERSION).tar.bz2 61sha256_file = $(tar_file).sha256 62gpg_file = $(sha256_file).asc 63$(sha256_file): $(tar_file) 64 sha256sum $^ > $@ 65$(gpg_file): $(sha256_file) 66 @echo "Please enter your GPG password to sign the checksum." 67 gpg --armor --sign $^ 68 69release-files: $(tar_file) $(sha256_file) $(gpg_file) 70 71 72-include $(top_srcdir)/git.mk 73