## Process this file with automake to produce Makefile.in ## ## $Id: Makefile.am 646 2008-06-03 22:05:22Z jari $ # Copyright (C) 2005 Jari Häkkinen # Copyright (C) 2006 Jari Häkkinen, Peter Johansson # Copyright (C) 2007, 2008 Peter Johansson # # This file is part of svndigest, http://trac.thep.lu.se/svndigest # # svndigest is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # svndigest is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. bin_PROGRAMS = svndigest svndigest_SOURCES = Parameter.cc svndigest.cc noinst_HEADERS = Parameter.h LDADD = @top_builddir@/lib/libsvndigest.la $(SVNDIGEST_LIBS) AM_LDFLAGS = $(STATICFLAG) $(SVNDIGEST_LDFLAGS) AM_CPPFLAGS = -I@top_srcdir@/lib $(SVNDIGEST_CPPFLAGS) AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS) # install versioned binary (excluding patch version) install-exec-hook: cd $(DESTDIR)$(bindir) && \ mv -f svndigest$(EXEEXT) \ svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) && \ $(LN_S) svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) svndigest$(EXEEXT) uninstall-hook: cd $(DESTDIR)$(bindir) && \ rm -f svndigest-$(MAJOR_VERSION).$(MINOR_VERSION)$(EXEEXT) clean-local: rm -rf *~