mc/Makefile.am
Slava Zanko f606e64861 Version of project now formed automatically from current git-describe output
* 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>
2009-06-07 00:56:07 +03:00

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