summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d1583e7)
raw | patch | inline | side by side (parent: d1583e7)
author | Sven Velt <sven@velt.de> | |
Mon, 24 Jan 2011 22:43:45 +0000 (23:43 +0100) | ||
committer | Sven Velt <sven@velt.de> | |
Mon, 24 Jan 2011 22:43:45 +0000 (23:43 +0100) |
debian/patches/adjust-template-path | [new file with mode: 0644] | patch | blob |
debian/patches/series | [new file with mode: 0644] | patch | blob |
debian/rules | patch | blob | history |
diff --git a/debian/patches/adjust-template-path b/debian/patches/adjust-template-path
--- /dev/null
@@ -0,0 +1,19 @@
+Index: pkg-pnp4nagios/sample-config/pnp/config.php.in
+===================================================================
+--- pkg-pnp4nagios.orig/sample-config/pnp/config.php.in 2011-01-24 23:37:42.251054015 +0100
++++ pkg-pnp4nagios/sample-config/pnp/config.php.in 2011-01-24 23:38:08.707054015 +0100
+@@ -214,12 +214,12 @@
+ # Add your own template directories here
+ # First match wins!
+ #$conf['template_dirs'][] = '/usr/local/check_mk/pnp-templates';
+-$conf['template_dirs'][] = '@datarootdir@/templates';
++$conf['template_dirs'][] = '@sysconfdir@/templates';
+ $conf['template_dirs'][] = '@datarootdir@/templates.dist';
+
+ #
+ # Directory to search for special templates
+ #
+-$conf['special_template_dir'] = '@datarootdir@/templates.special';
++$conf['special_template_dir'] = '@sysconfdir@/templates.special';
+
+ ?>
diff --git a/debian/patches/series b/debian/patches/series
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+adjust-template-path
diff --git a/debian/rules b/debian/rules
index f0087dd77618fe6aeab81046d721c8e134c6b3ef..1434a8116874c289e275ea49e894adead435be9b 100644 (file)
--- a/debian/rules
+++ b/debian/rules
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
+include /usr/share/quilt/quilt.make
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
build: build-stamp
-build-stamp: config.status
+build-stamp: $(QUILT_STAMPFN) config.status
dh_testdir
# Add here commands to compile the package.
touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp