1SUBDIRS = m4m po libexif test doc binary-dist contrib 2 3EXTRA_DIST = @PACKAGE_TARNAME@.spec README-Win32.txt 4 5pkgconfigdir = $(libdir)/pkgconfig 6 7pkgconfig_DATA = libexif.pc 8EXTRA_DIST += libexif.pc.in 9 10noinst_DATA = libexif-uninstalled.pc 11EXTRA_DIST += libexif-uninstalled.pc.in 12 13ACLOCAL_AMFLAGS = -I auto-m4 -I m4m 14 15EXTRA_DIST += SECURITY.md 16doc_DATA = README AUTHORS NEWS ChangeLog ABOUT-NLS COPYING SECURITY.md 17 18####################################################################### 19# Help for the maintainer 20# 21 22# Simulate something like 23# EXTRA_DIST_IF_EXIST = ChangeLog.git 24# If present, ship ChangeLog.git in source tarball. 25# If not present, don't ship it. 26dist-hook: 27 if test -f $(srcdir)/ChangeLog.git; then \ 28 cp -p $(srcdir)/ChangeLog.git $(distdir)/ChangeLog.git; \ 29 fi 30 31.PHONY: git-changelog 32git-changelog: $(srcdir)/ChangeLog.git 33 34.PHONY: $(srcdir)/ChangeLog.git 35$(srcdir)/ChangeLog.git: 36 (cd "$(srcdir)" && git2cl > $@) 37 38.PHONY: git-tag-release 39git-tag-release: 40 @tag="$$(echo "$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-release" | sed 's|\.|_|g')"; \ 41 echo "Are you sure you want to git tag \`$${tag}' your source files?"; \ 42 echo "Press Ctrl-C to abort, Enter to continue."; \ 43 read; \ 44 cd "$(srcdir)" && git tag "$${tag}" 45 46# End of Makefile.am. 47