source: branches/0.7-stable/Makefile.am @ 1221

Last change on this file since 1221 was 997, checked in by Peter Johansson, 12 years ago

fixes #435 - new check in 'make release' checking that wc is pristine and in non-mixed revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
RevLine 
[2]1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 997 2009-12-31 04:42:15Z peter $
4
[84]5# Copyright (C) 2005, 2006 Jari Häkkinen
[847]6# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2009 Peter Johansson
[84]8#
[687]9# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[84]10#
[149]11# svndigest is free software; you can redistribute it and/or modify it
[84]12# under the terms of the GNU General Public License as published by
[693]13# the Free Software Foundation; either version 3 of the License, or
[84]14# (at your option) any later version.
15#
[149]16# svndigest is distributed in the hope that it will be useful, but
[84]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
[693]22# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[84]23
[720]24# -I arg should be the same as arg in AC_CONFIG_MACRO_DIR in configure.ac
[821]25ACLOCAL_AMFLAGS = -I m4
[720]26
[724]27SUBDIRS = lib bin man test
[139]28
[569]29EXTRA_dist = build_support/move-if-change
30
[139]31clean-local:
[149]32  rm -rf svndigest *~
[655]33
[771]34# This is a workaround to avoid a broken make when .m4 files are
35# renamed or deleted. Something similar will be provided by Automake 1.11
36$(am__aclocal_m4_deps):
[862]37
38##############################################################
39##
40## Some rules useful for maintainer
41##
42
43include $(srcdir)/maintainer.am
44
45# called within maintainer-check
46## We do wanna run all tests here since test repository is not
47## included in tarball, and thus some tests are skiped in distcheck.
48MAINTAINER_CHECK_LOCAL = all check
49# extra check in release rule
[997]50RELEASE_LOCAL = check-svn_revision
51
52.PHONY: check-svn_revision
53
54check-svn_revision:
55  @$(SVNVERSION) | $(EGREP) '^[0-9]+$$' || \
56  { echo incorrect svn revision - expected single unmodified revision 1>&2; \
57    exit 1; }
Note: See TracBrowser for help on using the repository browser.