X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=9a3de9d3a3dd6bc03e005c7db8a731b1429dc32d;hb=e58ba2e20952c6ebc9a8a445c47179e203a279f6;hp=3135425fdb170cbeb2675173e7c562d82a53844f;hpb=f6c2f65acd87de6b94a59d17c7f3668b5184d028;p=platform%2Fupstream%2Flibexif.git diff --git a/Makefile.am b/Makefile.am index 3135425..9a3de9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,45 @@ -SUBDIRS = libexif libjpeg test po intl +SUBDIRS = m4m po libexif test doc binary contrib -CONFIG_CLEAN_FILES = -EXTRA_DIST = @PACKAGE@.spec +EXTRA_DIST = @PACKAGE_TARNAME@.spec README-Win32.txt -ACLOCAL_AMFLAGS = -I m4 +pkgconfigdir = $(libdir)/pkgconfig + +pkgconfig_DATA = libexif.pc +EXTRA_DIST += libexif.pc.in + +noinst_DATA = libexif-uninstalled.pc +EXTRA_DIST += libexif-uninstalled.pc.in + +ACLOCAL_AMFLAGS = -I auto-m4 -I m4m + +doc_DATA = README AUTHORS NEWS ChangeLog ABOUT-NLS COPYING + +####################################################################### +# Help for the maintainer +# + +# Simulate something like +# EXTRA_DIST_IF_EXIST = ChangeLog.git +# If present, ship ChangeLog.git in source tarball. +# If not present, don't ship it. +dist-hook: + if test -f $(srcdir)/ChangeLog.git; then \ + cp -p $(srcdir)/ChangeLog.git $(distdir)/ChangeLog.git; \ + fi + +.PHONY: git-changelog +git-changelog: $(srcdir)/ChangeLog.git + +.PHONY: $(srcdir)/ChangeLog.git +$(srcdir)/ChangeLog.git: + (cd "$(srcdir)" && git2cl > $@) + +.PHONY: git-tag-release +git-tag-release: + @tag="$$(echo "$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-release" | sed 's|\.|_|g')"; \ + echo "Are you sure you want to git tag \`$${tag}' your source files?"; \ + echo "Press Ctrl-C to abort, Enter to continue."; \ + read; \ + cd "$(srcdir)" && git tag "$${tag}" + +# End of Makefile.am.