-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.am
54 lines (41 loc) · 1.5 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
SUBDIRS = m4m po libexif test doc binary contrib
EXTRA_DIST = @[email protected] README-Win32.txt
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.cvs
# If present, ship ChangeLog.cvs in source tarball.
# If not present, don't ship it.
dist-hook:
if test -f $(srcdir)/ChangeLog.cvs; then \
cp -p $(srcdir)/ChangeLog.cvs $(distdir)/ChangeLog.cvs; \
fi
.PHONY: cvs-changelog
cvs-changelog: $(srcdir)/ChangeLog.cvs
.PHONY: $(srcdir)/ChangeLog.cvs
$(srcdir)/ChangeLog.cvs:
if test -f "$(srcdir)/cvs2cl.usermap"; then \
usermap="--usermap ./cvs2cl.usermap"; \
else \
usermap=""; \
fi; \
(cd "$(srcdir)" && cvs2cl $${usermap} --utc --domain users.sourceforge.net -f "ChangeLog.cvs")
.PHONY: cvs-tag-release
cvs-tag-release:
@tag="$$(echo "$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-release" | sed 's|\.|_|g')"; \
echo "Are you sure you want to CVS tag \`$${tag}' your source files?"; \
echo "Press Ctrl-C to abort, Enter to continue."; \
read; \
cd "$(srcdir)" && cvs tag "$${tag}"
.PHONY: upload-release
upload-release:
echo ncftpput upload.sourceforge.net incoming/ $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).*
# End of Makefile.am.