source: branches/replacing_gnuplot/bin/Makefile.am @ 646

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

Merged trunk changes r608:645 to replacing_gnuplot branch.

  • 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 646 2008-06-03 22:05:22Z jari $
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 = @top_builddir@/lib/libsvndigest.la $(SVNDIGEST_LIBS)
33AM_LDFLAGS = $(STATICFLAG) $(SVNDIGEST_LDFLAGS)
34
35AM_CPPFLAGS = -I@top_srcdir@/lib $(SVNDIGEST_CPPFLAGS)
36AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
37
38
39# install versioned binary (excluding patch version)
40install-exec-hook:
41  cd $(DESTDIR)$(bindir) && \
42  mv -f svndigest$(EXEEXT) \
43  svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) && \
44  $(LN_S) svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) svndigest$(EXEEXT)
45
46uninstall-hook:
47  cd $(DESTDIR)$(bindir) && \
48  rm -f svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT)
49
50clean-local:
51  rm -rf *~
Note: See TracBrowser for help on using the repository browser.