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