forked from fabiand/redis-glib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
33 lines (28 loc) · 1.13 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
include Makefile.include
include Makefile.tests
include data/Makefile.include
include redis-glib/Makefile.include
include tests/Makefile.include
ACLOCAL_AMFLAGS = -I build/m4 ${ACLOCAL_FLAGS}
DISTCHECK_CONFIGURE_FLAGS = --enable-maintainer-flags --enable-gtk-doc --enable-introspection
redisdocdir = ${prefix}/doc/redis-glib-1.0
redisdoc_DATA =
redisdoc_DATA += README
redisdoc_DATA += COPYING
redisdoc_DATA += AUTHORS
redisdoc_DATA += ChangeLog
redisdoc_DATA += INSTALL
redisdoc_DATA += NEWS
EXTRA_DIST += $(redisdoc_DATA)
dist-hook:
@if test -d "$(srcdir)/.git"; then \
(cd "$(srcdir)" && \
$(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
&& mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
|| (rm -f ChangeLog.tmp; \
echo Failed to generate ChangeLog >&2); \
else \
echo A git checkout is required to generate a ChangeLog >&2; \
fi
uninstall-local:
-rm -r $(redisdocdir)