source: trunk/Makefile.am @ 967

Last change on this file since 967 was 967, checked in by Peter Johansson, 13 years ago

fixes #427

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 967 2009-12-09 19:17:40Z peter $
4
5# Copyright (C) 2005, 2006 Jari Häkkinen
6# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2009 Peter Johansson
8#
9# This file is part of svndigest, http://dev.thep.lu.se/svndigest
10#
11# svndigest is free software; you can redistribute it and/or modify it
12# under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 3 of the License, or
14# (at your option) any later version.
15#
16# svndigest is distributed in the hope that it will be useful, but
17# WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19# General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
23
24# -I arg should be the same as arg in AC_CONFIG_MACRO_DIR in configure.ac
25ACLOCAL_AMFLAGS = -I m4
26
27SUBDIRS = lib bin man test
28
29EXTRA_DIST = build_support/move-if-change .release_year
30MOVE_IF_CHANGE = $(SHELL) $(top_srcdir)/build_support/move-if-change
31
32clean-local:
33  rm -rf svndigest *~
34
35.PHONY: .release_year.tmp
36if HAVE_SVN_WC
37# update copyright year automatically (if we build from svn wc)
38$(srcdir)/.release_year: .release_year.tmp
39  @$(MOVE_IF_CHANGE) .release_year.tmp $@
40
41.release_year.tmp:
42  @if ($(SVNVERSION) $(top_srcdir) | $(GREP) M > /dev/null); then \
43     date -u "+%Y" > .release_year.tmp; \
44  else \
45     cp $(srcdir)/.release_year $@; \
46  fi
47endif
48
49
50# This is a workaround to avoid a broken make when .m4 files are
51# renamed or deleted. Something similar will be provided by Automake 1.11
52$(am__aclocal_m4_deps):
53
54##############################################################
55##
56## Some rules useful for maintainer
57##
58
59include $(srcdir)/maintainer.am
60
61# called within maintainer-check
62## We do wanna run all tests here since test repository is not
63## included in tarball, and thus some tests are skiped in distcheck.
64MAINTAINER_CHECK_LOCAL = all check
65# extra check in release rule
66#RELEASE_LOCAL =
Note: See TracBrowser for help on using the repository browser.