Makefile.am 1.9 KB
Newer Older
1 2
# Process this file with automake to produce Makefile.in

B
Behdad Esfahbod 已提交
3 4
NULL =

B
Behdad Esfahbod 已提交
5
SUBDIRS = src test
B
Behdad Esfahbod 已提交
6

B
Behdad Esfahbod 已提交
7 8 9
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = harfbuzz.pc

B
Behdad Esfahbod 已提交
10
EXTRA_DIST = \
B
Behdad Esfahbod 已提交
11 12 13
	autogen.sh \
	harfbuzz.doap \
	$(NULL)
B
Behdad Esfahbod 已提交
14

B
Behdad Esfahbod 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
MAINTAINERCLEANFILES = \
	$(srcdir)/INSTALL \
	$(srcdir)/aclocal.m4 \
	$(srcdir)/autoscan.log \
	$(srcdir)/compile \
	$(srcdir)/config.guess \
	$(srcdir)/config.h.in \
	$(srcdir)/config.sub \
	$(srcdir)/configure.scan \
	$(srcdir)/depcomp \
	$(srcdir)/install-sh \
	$(srcdir)/ltmain.sh \
	$(srcdir)/missing \
	$(srcdir)/mkinstalldirs \
	$(srcdir)/ChangeLog \
	`find "$(srcdir)" -type f -name Makefile.in -print`


33 34 35 36
#
# ChangeLog generation
#
CHANGELOG_RANGE =
B
Behdad Esfahbod 已提交
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
ChangeLog: $(srcdir)/ChangeLog
$(srcdir)/ChangeLog:
	$(AM_V_GEN) if test -d "$(srcdir)/.git"; then \
	  (GIT_DIR=$(top_srcdir)/.git ./missing --run \
	   git log $(CHANGELOG_RANGE) --stat) | fmt --split-only > $@.tmp \
	  && mv -f $@.tmp $@ \
	  || ($(RM) $@.tmp; \
	      echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
	      (test -f $@ || echo git-log is required to generate this file >> $@)); \
	else \
	  test -f $@ || \
	  (echo A git checkout and git-log is required to generate ChangeLog >&2 && \
	  echo A git checkout and git-log is required to generate this file >> $@); \
	fi
.PHONY: $(srcdir)/ChangeLog


54 55 56 57
#
# Release engineering
#

B
Minor  
Behdad Esfahbod 已提交
58 59
# TODO: Copy infrastructure from cairo

60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
TAR_OPTIONS = --owner=0 --group=0
dist-hook: dist-clear-sticky-bits
# Clean up any sticky bits we may inherit from parent dir
dist-clear-sticky-bits:
	chmod -R a-s $(distdir)


tar_file = $(PACKAGE_TARNAME)-$(VERSION).tar.bz2
sha256_file = $(tar_file).sha256
gpg_file = $(sha256_file).asc
$(sha256_file): $(tar_file)
	sha256sum $^ > $@
$(gpg_file): $(sha256_file)
	@echo "Please enter your GPG password to sign the checksum."
	gpg --armor --sign $^

release-files: $(tar_file) $(sha256_file) $(gpg_file)



B
Behdad Esfahbod 已提交
80
-include $(top_srcdir)/git.mk