Fixed filenames recoding while call external utilites by mc.ext rules
[midnight-commander.git] / Makefile.am
blob61eb8bb7e966a460dc88ed1192bf3fe89c3da8bc
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 if HAVE_TESTS
7     SUBDIRS += tests
8 endif
10 EXTRA_DIST = 
12 dist_noinst_SCRIPTS = build-glib2.sh
14 dist_noinst_HEADERS = $(top_srcdir)/version.h
16 ACLOCAL_AMFLAGS = -I m4
18 CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/version.h
20 .PHONY: update-version
22 update-version:
23         @if test -x $(top_srcdir)/maint/version.sh; then \
24             $(top_srcdir)/maint/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
25         else \
26             echo "File not found: $(top_srcdir)/maint/version.sh"; \
27         fi
29 $(top_srcdir)/version.h: update-version