1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-07-17 15:01:03 +00:00
libsearpc/json-glib/Makefile.am
2012-05-09 13:33:59 +08:00

23 lines
692 B
Makefile

include $(top_srcdir)/build/autotools/Makefile.am.gtest
include $(top_srcdir)/build/autotools/Makefile.am.silent
ACLOCAL_AMFLAGS = -I build/autotools
SUBDIRS = json-glib build
CLEANFILES = $(pcfiles) test-report.xml
DISTCHECK_CONFIGURE_FLAGS = --enable-maintainer-flags --enable-introspection
dist-hook:
@if test -d "$(srcdir)/.git"; then \
echo Generating ChangeLog ; \
( cd "$(srcdir)" \
&& $(top_srcdir)/build/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