michael@0: # Process this file with automake to produce Makefile.in michael@0: michael@0: NULL = michael@0: michael@0: SUBDIRS = src util test michael@0: michael@0: pkgconfigdir = $(libdir)/pkgconfig michael@0: pkgconfig_DATA = harfbuzz.pc michael@0: michael@0: EXTRA_DIST = \ michael@0: autogen.sh \ michael@0: harfbuzz.doap \ michael@0: $(NULL) michael@0: michael@0: MAINTAINERCLEANFILES = \ michael@0: $(srcdir)/INSTALL \ michael@0: $(srcdir)/aclocal.m4 \ michael@0: $(srcdir)/autoscan.log \ michael@0: $(srcdir)/compile \ michael@0: $(srcdir)/config.guess \ michael@0: $(srcdir)/config.h.in \ michael@0: $(srcdir)/config.sub \ michael@0: $(srcdir)/configure.scan \ michael@0: $(srcdir)/depcomp \ michael@0: $(srcdir)/install-sh \ michael@0: $(srcdir)/ltmain.sh \ michael@0: $(srcdir)/missing \ michael@0: $(srcdir)/mkinstalldirs \ michael@0: $(srcdir)/ChangeLog \ michael@0: `find "$(srcdir)" -type f -name Makefile.in -print` michael@0: michael@0: michael@0: # michael@0: # ChangeLog generation michael@0: # michael@0: CHANGELOG_RANGE = michael@0: ChangeLog: $(srcdir)/ChangeLog michael@0: $(srcdir)/ChangeLog: michael@0: $(AM_V_GEN) if test -d "$(srcdir)/.git"; then \ michael@0: (GIT_DIR=$(top_srcdir)/.git ./missing --run \ michael@0: git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \ michael@0: && mv -f $@.tmp $@ \ michael@0: || ($(RM) $@.tmp; \ michael@0: echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ michael@0: (test -f $@ || echo git-log is required to generate this file >> $@)); \ michael@0: else \ michael@0: test -f $@ || \ michael@0: (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ michael@0: echo A git checkout and git-log is required to generate this file >> $@); \ michael@0: fi michael@0: .PHONY: $(srcdir)/ChangeLog michael@0: michael@0: michael@0: # michael@0: # Release engineering michael@0: # michael@0: michael@0: # TODO: Copy infrastructure from cairo michael@0: michael@0: TAR_OPTIONS = --owner=0 --group=0 michael@0: dist-hook: dist-clear-sticky-bits michael@0: # Clean up any sticky bits we may inherit from parent dir michael@0: dist-clear-sticky-bits: michael@0: chmod -R a-s $(distdir) michael@0: michael@0: michael@0: tar_file = $(PACKAGE_TARNAME)-$(VERSION).tar.bz2 michael@0: sha256_file = $(tar_file).sha256 michael@0: gpg_file = $(sha256_file).asc michael@0: $(sha256_file): $(tar_file) michael@0: sha256sum $^ > $@ michael@0: $(gpg_file): $(sha256_file) michael@0: @echo "Please enter your GPG password to sign the checksum." michael@0: gpg --armor --sign $^ michael@0: michael@0: release-files: $(tar_file) $(sha256_file) $(gpg_file) michael@0: michael@0: michael@0: -include $(top_srcdir)/git.mk