mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
f606e64861
* File version.h will be created (or changed) automatically * Fixed versions for rpm packages - all '-' changed to '.' in RPM_VERSION variable * when version.h is changed (or deleted) ./configure script will be invoked Signed-off-by: Slava Zanko <slavazanko@gmail.com>
26 lines
595 B
Makefile
26 lines
595 B
Makefile
## Process this file with automake to create Makefile.in.
|
|
AUTOMAKE_OPTIONS = 1.5
|
|
|
|
SUBDIRS = intl po vfs edit src doc syntax contrib misc
|
|
|
|
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/version.sh; then \
|
|
$(top_srcdir)/maint/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
|
|
else \
|
|
echo "File not found: $(top_srcdir)/maint/version.sh"; \
|
|
fi
|
|
|
|
$(top_srcdir)/version.h: update-version
|