• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1SUBDIRS = m4m po libexif test doc binary contrib
2
3EXTRA_DIST = @PACKAGE_TARNAME@.spec README-Win32.txt
4
5pkgconfigdir = $(libdir)/pkgconfig
6
7pkgconfig_DATA = libexif.pc
8EXTRA_DIST    += libexif.pc.in
9
10noinst_DATA = libexif-uninstalled.pc
11EXTRA_DIST += libexif-uninstalled.pc.in
12
13ACLOCAL_AMFLAGS = -I auto-m4 -I m4m
14
15doc_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.
25dist-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
31cvs-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
43cvs-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
51upload-release:
52	echo ncftpput upload.sourceforge.net incoming/ $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).*
53
54# End of Makefile.am.
55