source: trunk/Makefile.am @ 2339

Last change on this file since 2339 was 2234, checked in by Peter, 12 years ago

remove workaround for automake 1.10. This closes #475

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3
4# $Id: Makefile.am 2234 2010-03-27 14:20:22Z peter $
5#
6# Copyright (C) 2003 Daniel Dalevi, Jari Häkkinen
7# Copyright (C) 2005 Peter Johansson
8# Copyright (C) 2006 Jari Häkkinen
9# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
10# Copyright (C) 2009 Peter Johansson
11#
12# This file is part of the yat library, http://dev.thep.lu.se/yat
13#
14# The yat library is free software; you can redistribute it and/or
15# modify it under the terms of the GNU General Public License as
16# published by the Free Software Foundation; either version 3 of the
17# License, or (at your option) any later version.
18#
19# The yat library is distributed in the hope that it will be useful,
20# but WITHOUT ANY WARRANTY; without even the implied warranty of
21# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22# General Public License for more details.
23#
24# You should have received a copy of the GNU General Public License
25# along with yat. If not, see <http://www.gnu.org/licenses/>.
26
27# -I arg should be the same as arg in AC_CONFIG_MACRO_DIR in configure.ac
28ACLOCAL_AMFLAGS = -I m4
29
30SUBDIRS = build_support m4 yat test doc
31
32.PHONY: doc doxygen_mk maintainer-check news-check svn-check svn-clean release
33doc: doxygen_mk
34  @(cd doc; $(MAKE) $(AM_MAKEFLAGS) $@)
35
36doxygen_mk:; @(cd yat; $(MAKE) $(AM_MAKEFLAGS) $@)
37
38lazycheck recheck: all
39  @(cd test && $(MAKE) $(AM_MAKEFLAGS) $@)
40
41
42# like the normal install target, but does not update header files
43# (and its time stamps) if the content did not change.
44install-modified:
45  $(MAKE) install $(AM_MAKEFLAGS) INSTALL_HEADER="$(install_sh_DATA) -C"
46
47###############################################################
48##
49## Some targets useful for the maintainer
50##
51MAINTAINER_CHECK_LOCAL = maintainer-check-local
52RELEASE_LOCAL = ltversion-check
53
54.PHONY: maintainer-check-local ltversion-check
55
56ltversion-check:
57  @case `sed 200q $(srcdir)/m4/version.m4` in \
58  *yat-$(VERSION)*$(YAT_LT_VERSION)*);; \
59  *) \
60    echo "version.m4: YAT_LT_VERSION not updated;" 1>&2;\
61    echo "  expected to find 'yat-$(VERSION)  $(YAT_LT_VERSION)'" 1>&2;\
62    exit 1;; \
63  esac
64
65maintainer-check-local:
66  mkdir _inst
67  @mcl_install=`cd _inst && pwd` \
68  && $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install \
69  && $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install install \
70  && cd test && $(MAKE) $(AM_MAKEFLAGS) prefix=$$mcl_install yat_check_yat_test
71
72include $(srcdir)/am/maintainer.am
Note: See TracBrowser for help on using the repository browser.