riscv64: Update config.sub and config.guess
[platform/upstream/libexif.git] / Makefile.am
1 SUBDIRS = libexif
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 EXTRA_DIST += SECURITY.md
16 #doc_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.
26 dist-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
32 git-changelog: $(srcdir)/ChangeLog.git
33
34 .PHONY: $(srcdir)/ChangeLog.git
35 $(srcdir)/ChangeLog.git:
36         (cd "$(srcdir)" && git2cl > $@)
37
38 .PHONY: git-tag-release
39 git-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.