source: trunk/bin/Makefile.am @ 708

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

fixes #348

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 696 2008-11-17 15:44:46Z peter $
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://dev.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 3 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 svndigest. If not, see <http://www.gnu.org/licenses/>.
24
25bin_PROGRAMS = svndigest
26
27svndigest_SOURCES = Parameter.cc svndigest.cc
28
29noinst_HEADERS = Parameter.h
30
31LDADD = $(top_builddir)/lib/libsvndigest.a $(SVNDIGEST_LIBS)
32AM_LDFLAGS = $(SVNDIGEST_LDFLAGS)
33
34AM_CPPFLAGS = -I$(top_srcdir)/lib $(SVNDIGEST_CPPFLAGS)
35AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
36
37
38# install versioned binary (excluding patch version)
39install-exec-hook:
40  cd $(DESTDIR)$(bindir) && \
41  mv -f svndigest$(EXEEXT) \
42  svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) && \
43  $(LN_S) svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) svndigest$(EXEEXT)
44
45uninstall-hook:
46  cd $(DESTDIR)$(bindir) && \
47  rm -f svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT)
48
49clean-local:
50  rm -rf *~
Note: See TracBrowser for help on using the repository browser.