From de378a9b11f3d69b22ccbdccaa7be97e4f366511 Mon Sep 17 00:00:00 2001 From: Cesar De Souza Date: Thu, 5 Jan 2017 23:36:29 +0100 Subject: [PATCH] Fixing make install --- Makefile.am | 5 +++++ configure.ac | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6cac3b711..2cd641385 100644 --- a/Makefile.am +++ b/Makefile.am @@ -92,7 +92,12 @@ clean-local: maintainer-clean-local: rm -rf autom4te.cache +install-exec-local: + mkdir -p $(DESTDIR)$(libdir)/$(PACKAGE) + $(INSTALL_SCRIPT) -t $(DESTDIR)$(libdir)/$(PACKAGE)/ $(LIBFILES) +uninstall-local: + rm -rf $(DESTDIR)$(libdir)/$(PACKAGE) MAINTAINERCLEANFILES = Makefile.in \ install-sh \ diff --git a/configure.ac b/configure.ac index 8d8fd0c48..a6afb808c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([accord], [3.3]) +AC_INIT([accord], m4_esyscmd([tr -d '\n' < Version.txt])) AM_INIT_AUTOMAKE([tar-ustar foreign]) AC_PROG_INSTALL @@ -43,4 +43,4 @@ ${PACKAGE}-${VERSION} Mono Runtime: ${MONO} Installation Directory: ${prefix}/lib/${PACKAGE}/ -EOF \ No newline at end of file +EOF