From 0a0fbb46baa1fd5e6bb68c9e3f9f0b28dfa17e15 Mon Sep 17 00:00:00 2001
From: intrigeri <intrigeri@boum.org>
Date: Sun, 29 Jan 2012 14:11:11 +0100
Subject: [PATCH] Workaround annoying automake sanity check.

Recent versions of automake prevent us from installing lib/* into
lib/backupninja/. Where else are be supposed to install such files anyway?
---
 ChangeLog       | 4 ++++
 lib/Makefile.am | 5 +++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5ca279d..65b9cc5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,6 +16,10 @@ version 1.0 -- UNRELEASED
 	   Thanks to Yuval Kogman <nothingmuch@woobling.org> for the patch.
 	mysql:
 	 . Don't attempt to dump performance_schema database (Redmine#3741).
+    build system changes
+	 . Workaround automake sanity check that would prevent us from
+	   installing lib/* into lib/backupninja/. Where else are be supposed
+	   to install such files anyway?
 
 version 0.9.10 -- September 23, 2011
     backupninja changes
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 11eba37..9a54736 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,6 +1,7 @@
-pkglib_SCRIPTS = easydialog parseini tools vserver
+my_execbindir = $(pkglibdir)
+my_execbin_SCRIPTS = easydialog parseini tools vserver
 
-CLEANFILES = $(pkglib_SCRIPTS)
+CLEANFILES = $(my_execbin_SCRIPTS)
 
 EXTRA_DIST = easydialog.in parseini.in tools.in vserver.in
 
-- 
GitLab