Fix of mouse and ca capabilities check.
[midnight-commander.git] / Makefile.am
blobfa40a6788e725cb061b2e17adf04d98bd946d015
1 ## Process this file with automake to create Makefile.in.
2 AUTOMAKE_OPTIONS = 1.5
4 SUBDIRS = intl po lib src doc contrib misc
6 EXTRA_DIST = 
8 dist_noinst_SCRIPTS = build-glib2.sh
10 dist_noinst_HEADERS = $(top_srcdir)/version.h
12 ACLOCAL_AMFLAGS = -I m4
14 CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/version.h
16 .PHONY: update-version
18 update-version:
19         @if test -x $(top_srcdir)/maint/version.sh; then \
20             $(top_srcdir)/maint/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
21         else \
22             if test ! -e $(top_srcdir)/version.h; then \
23                 echo "File not found: $(top_srcdir)/maint/version.sh"; \
24                 exit 1; \
25             fi; \
26         fi
28 $(top_srcdir)/version.h: update-version