[Pkg-nagios-changes] [pkg-icinga2] 01/01: Add support for squeeze (WIP)
Gunnar Beutner
shroud-guest at moszumanska.debian.org
Wed Jan 14 11:33:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
shroud-guest pushed a commit to branch squeeze-support
in repository pkg-icinga2.
commit ab136bef49d0cff85d12a40460e4c2479230bc6a
Author: Gunnar Beutner <gunnar at beutner.name>
Date: Wed Jan 14 12:33:20 2015 +0100
Add support for squeeze (WIP)
---
debian/compat | 2 +-
debian/rules | 12 ++++++++----
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/debian/compat b/debian/compat
index ec63514..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+8
diff --git a/debian/rules b/debian/rules
index 822a5b3..a333b78 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,12 +12,16 @@ override_dh_auto_build:
override_dh_auto_clean:
dh_auto_clean
- test ! -f third-party/cmake/GNUInstallDirs.cmake.disabled || \
- mv third-party/cmake/GNUInstallDirs.cmake.disabled third-party/cmake/GNUInstallDirs.cmake
+ if [ `lsb_release -c | awk '{print $2}'` != "squeeze" ]; then
+ test ! -f third-party/cmake/GNUInstallDirs.cmake.disabled || \
+ mv third-party/cmake/GNUInstallDirs.cmake.disabled third-party/cmake/GNUInstallDirs.cmake
+ fi
override_dh_auto_configure:
- test -f third-party/cmake/GNUInstallDirs.cmake.disabled || \
- mv third-party/cmake/GNUInstallDirs.cmake third-party/cmake/GNUInstallDirs.cmake.disabled
+ if [ `lsb_release -c | awk '{print $2}'` != "squeeze" ]; then
+ test -f third-party/cmake/GNUInstallDirs.cmake.disabled || \
+ mv third-party/cmake/GNUInstallDirs.cmake third-party/cmake/GNUInstallDirs.cmake.disabled
+ fi
dh_auto_configure -- \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list