From f5c8b4903df6e5be1dac4f258a328449e6483954 Mon Sep 17 00:00:00 2001
From: Markus Blatt <markus@dr-blatt.de>
Date: Fri, 3 Jan 2014 16:18:00 +0100
Subject: [PATCH] [bugfix] Distribute and install git-whitespace-hook.

git-whitespace-hook is called by dune-control which barks if
it is not available. Therefore we distribute and install after
this patch.
---
 bin/CMakeLists.txt | 1 +
 bin/Makefile.am    | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt
index 3213d8412..f0986faac 100644
--- a/bin/CMakeLists.txt
+++ b/bin/CMakeLists.txt
@@ -3,6 +3,7 @@ install(PROGRAMS
 	dunedoxynize
 	duneproject
 	dunecontrol
+	git-whitespace-hook
 	mpi-config
 	dune-autogen
 	DESTINATION ${CMAKE_INSTALL_BINDIR})
diff --git a/bin/Makefile.am b/bin/Makefile.am
index 701ba446c..521dafb03 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -3,10 +3,12 @@
 # put scripts into dist-tarball
 EXTRA_DIST = am2cmake.py CMakeLists.txt duneproject dunecontrol \
   dunedoxynize \
+  git-whitespace-hook \
   mpi-config dune-autogen \
   xfail-compile-tests
 
 # ... and install some
-bin_SCRIPTS = am2cmake.py dunedoxynize duneproject dunecontrol mpi-config dune-autogen
+bin_SCRIPTS = am2cmake.py dunedoxynize duneproject dunecontrol mpi-config dune-autogen \
+  git-whitespace-hook
 
 include $(top_srcdir)/am/global-rules
-- 
GitLab