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