mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
1c6d859629
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
33 lines
727 B
Makefile
33 lines
727 B
Makefile
## Process this file with automake to create Makefile.in.
|
|
AUTOMAKE_OPTIONS = 1.5
|
|
|
|
SUBDIRS = intl po lib src doc contrib misc
|
|
|
|
if HAVE_TESTS
|
|
SUBDIRS += tests
|
|
endif
|
|
|
|
EXTRA_DIST =
|
|
|
|
dist_noinst_SCRIPTS = build-glib2.sh
|
|
|
|
dist_noinst_HEADERS = $(top_srcdir)/version.h
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/version.h
|
|
|
|
.PHONY: update-version
|
|
|
|
update-version:
|
|
@if test -x $(top_srcdir)/maint/utils/version.sh; then \
|
|
$(top_srcdir)/maint/utils/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
|
|
else \
|
|
if test ! -e $(top_srcdir)/version.h; then \
|
|
echo "File not found: $(top_srcdir)/maint/utils/version.sh"; \
|
|
exit 1; \
|
|
fi; \
|
|
fi
|
|
|
|
$(top_srcdir)/version.h: update-version
|