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