Ticket #2710 (can't open an edit zero-length file from VFS in mcedit)
[midnight-commander.git] / Makefile.am
blob1433b913202f5c6ec00f19ccc55b5fd9390e071a
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             if test ! -e $(top_srcdir)/version.h; then \
27                 echo "File not found: $(top_srcdir)/maint/version.sh"; \
28                 exit 1; \
29             fi; \
30         fi
32 $(top_srcdir)/version.h: update-version