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