source: trunk/bin/Makefile.am @ 611

Last change on this file since 611 was 585, checked in by Peter Johansson, 14 years ago

replacing SPLIT_VERSION macro with version.m4 taken from yat project

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 585 2008-04-11 21:37:36Z peter $
4
5# Copyright (C) 2005 Jari Häkkinen
6# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2007, 2008 Peter Johansson
8#
9# This file is part of svndigest, http://trac.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 2 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 this program; if not, write to the Free Software
23# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24# 02111-1307, USA.
25
26bin_PROGRAMS = svndigest
27
28svndigest_SOURCES = Parameter.cc svndigest.cc
29
30noinst_HEADERS = Parameter.h
31
32LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la
33
34AM_CPPFLAGS = -I@top_srcdir@/lib
35
36# install versioned binary (excluding patch version)
37install-exec-hook:
38  cd $(DESTDIR)$(bindir) && \
39  mv -f svndigest$(EXEEXT) \
40  svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) && \
41  $(LN_S) svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) svndigest$(EXEEXT)
42
43uninstall-hook:
44  cd $(DESTDIR)$(bindir) && \
45  rm -f svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT)
46
47clean-local:
48  rm -rf *~
Note: See TracBrowser for help on using the repository browser.