Makefile.am 667 B

12345678910111213141516171819202122232425262728
  1. ## Process this file with automake to create Makefile.in.
  2. AUTOMAKE_OPTIONS = 1.5
  3. SUBDIRS = intl po lib src doc contrib misc
  4. EXTRA_DIST =
  5. dist_noinst_SCRIPTS = build-glib2.sh
  6. dist_noinst_HEADERS = $(top_srcdir)/version.h
  7. ACLOCAL_AMFLAGS = -I m4
  8. CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/version.h
  9. .PHONY: update-version
  10. update-version:
  11. @if test -x $(top_srcdir)/maint/version.sh; then \
  12. $(top_srcdir)/maint/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
  13. else \
  14. if test ! -e $(top_srcdir)/version.h; then \
  15. echo "File not found: $(top_srcdir)/maint/version.sh"; \
  16. exit 1; \
  17. fi; \
  18. fi
  19. $(top_srcdir)/version.h: update-version