Don't bother calling bindtextdomain in the error case
[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.cvs
23 # If present, ship ChangeLog.cvs in source tarball.
24 # If not present, don't ship it.
25 dist-hook:
26         if test -f $(srcdir)/ChangeLog.cvs; then \
27                 cp -p $(srcdir)/ChangeLog.cvs $(distdir)/ChangeLog.cvs; \
28         fi
29
30 .PHONY: cvs-changelog
31 cvs-changelog: $(srcdir)/ChangeLog.cvs
32
33 .PHONY: $(srcdir)/ChangeLog.cvs
34 $(srcdir)/ChangeLog.cvs:
35         if test -f "$(srcdir)/cvs2cl.usermap"; then \
36                 usermap="--usermap ./cvs2cl.usermap"; \
37         else \
38                 usermap=""; \
39         fi; \
40         (cd "$(srcdir)" && cvs2cl $${usermap} --utc --domain users.sourceforge.net -f "ChangeLog.cvs")
41
42 .PHONY: cvs-tag-release
43 cvs-tag-release:
44         @tag="$$(echo "$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-release" | sed 's|\.|_|g')"; \
45         echo "Are you sure you want to CVS tag \`$${tag}' your source files?"; \
46         echo "Press Ctrl-C to abort, Enter to continue."; \
47         read; \
48         cd "$(srcdir)" && cvs tag "$${tag}"
49
50 .PHONY: upload-release
51 upload-release:
52         echo ncftpput upload.sourceforge.net incoming/ $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).*
53
54 # End of Makefile.am.