source: trunk/bin/Makefile.am @ 668

Last change on this file since 668 was 668, checked in by Jari Häkkinen, 13 years ago

Fixes #340. Run 'bootstrap' after update.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 668 2008-07-03 23:28:06Z jari $
4
5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2007 Peter Johansson
8# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
9#
10# This file is part of svndigest, http://trac.thep.lu.se/svndigest
11#
12# svndigest is free software; you can redistribute it and/or modify it
13# under the terms of the GNU General Public License as published by
14# the Free Software Foundation; either version 2 of the License, or
15# (at your option) any later version.
16#
17# svndigest is distributed in the hope that it will be useful, but
18# WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20# General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License
23# along with this program; if not, write to the Free Software
24# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
25# 02111-1307, USA.
26
27bin_PROGRAMS = svndigest
28
29svndigest_SOURCES = Parameter.cc svndigest.cc
30
31noinst_HEADERS = Parameter.h
32
33LDADD = @top_builddir@/lib/libsvndigest.a $(SVNDIGEST_LIBS)
34AM_LDFLAGS = $(SVNDIGEST_LDFLAGS)
35
36AM_CPPFLAGS = -I@top_srcdir@/lib $(SVNDIGEST_CPPFLAGS)
37AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
38
39
40# install versioned binary (excluding patch version)
41install-exec-hook:
42  cd $(DESTDIR)$(bindir) && \
43  mv -f svndigest$(EXEEXT) \
44  svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) && \
45  $(LN_S) svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) svndigest$(EXEEXT)
46
47uninstall-hook:
48  cd $(DESTDIR)$(bindir) && \
49  rm -f svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT)
50
51clean-local:
52  rm -rf *~
Note: See TracBrowser for help on using the repository browser.