Makefile.am 727 B

1234567891011121314151617181920212223242526272829303132
  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. if HAVE_TESTS
  5. SUBDIRS += tests
  6. endif
  7. EXTRA_DIST =
  8. dist_noinst_SCRIPTS = build-glib2.sh
  9. dist_noinst_HEADERS = $(top_srcdir)/version.h
  10. ACLOCAL_AMFLAGS = -I m4
  11. CONFIG_STATUS_DEPENDENCIES = $(top_srcdir)/version.h
  12. .PHONY: update-version
  13. update-version:
  14. @if test -x $(top_srcdir)/maint/utils/version.sh; then \
  15. $(top_srcdir)/maint/utils/version.sh "$(top_srcdir)" 2>&1 >/dev/null; \
  16. else \
  17. if test ! -e $(top_srcdir)/version.h; then \
  18. echo "File not found: $(top_srcdir)/maint/utils/version.sh"; \
  19. exit 1; \
  20. fi; \
  21. fi
  22. $(top_srcdir)/version.h: update-version