2000-08-24 18:13:00 +04:00
|
|
|
## Process this file with automake to create Makefile.in.
|
2001-09-07 08:25:02 +04:00
|
|
|
AUTOMAKE_OPTIONS = 1.5
|
|
|
|
|
2010-01-07 02:20:14 +03:00
|
|
|
SUBDIRS = intl po lib src doc contrib misc
|
2000-08-24 18:13:00 +04:00
|
|
|
|
2011-07-11 12:22:46 +04:00
|
|
|
if HAVE_TESTS
|
|
|
|
SUBDIRS += tests
|
|
|
|
endif
|
|
|
|
|
2009-01-10 18:26:14 +03:00
|
|
|
EXTRA_DIST =
|
2000-08-24 18:13:00 +04:00
|
|
|
|
2009-05-07 13:53:59 +04:00
|
|
|
dist_noinst_SCRIPTS = build-glib2.sh
|
2000-09-23 21:24:08 +04:00
|
|
|
|
2009-06-02 17:36:58 +04:00
|
|
|
dist_noinst_HEADERS = $(top_srcdir)/version.h
|
|
|
|
|
2002-09-17 20:13:25 +04:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2009-06-02 17:36:58 +04:00
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/version.h
|
|
|
|
|
|
|
|
.PHONY: update-version
|
|
|
|
|
|
|
|
update-version:
|
|
|
|
@if test -x $(top_srcdir)/maint/version.sh; then \
|
|
|
|
$(top_srcdir)/maint/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
|
|
|
|
else \
|
2011-07-26 16:55:02 +04:00
|
|
|
if test ! -e $(top_srcdir)/version.h; then \
|
|
|
|
echo "File not found: $(top_srcdir)/maint/version.sh"; \
|
|
|
|
exit 1; \
|
|
|
|
fi; \
|
2009-06-02 17:36:58 +04:00
|
|
|
fi
|
|
|
|
|
|
|
|
$(top_srcdir)/version.h: update-version
|