new release for RSA
[external/libjson-glib.git] / Makefile.am
1 include $(top_srcdir)/build/autotools/Makefile.am.gtest
2 include $(top_srcdir)/build/autotools/Makefile.am.silent
3
4 ACLOCAL_AMFLAGS = -I build/autotools
5
6 SUBDIRS = build json-glib doc
7
8 if ENABLE_GLIB_TEST
9 SUBDIRS += tests
10 endif
11
12 DIST_SUBDIRS = build json-glib doc tests
13
14 pcfiles = json-glib-1.0.pc
15
16 json-glib-1.0.pc: json-glib.pc
17         $(QUIET_GEN)cp -f $< $@
18
19 pkgconfig_DATA = $(pcfiles)
20 pkgconfigdir = $(libdir)/pkgconfig
21
22 EXTRA_DIST += json-glib.pc.in
23
24 CLEANFILES = $(pcfiles) test-report.xml
25
26 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-maintainer-flags --enable-introspection
27
28 dist-hook:
29         @if test -d "$(srcdir)/.git"; then \
30           echo Generating ChangeLog ; \
31           ( cd "$(srcdir)" \
32             && $(top_srcdir)/missing --run git log --stat ) > ChangeLog.tmp \
33           && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
34           || ( rm -f ChangeLog.tmp; \
35                echo Failed to generate ChangeLog >&2 ); \
36         else \
37           echo A git checkout is required to generate a ChangeLog >&2; \
38         fi