summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0b045e)
raw | patch | inline | side by side (parent: b0b045e)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 19 May 2007 22:03:33 +0000 (00:03 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 19 May 2007 22:03:33 +0000 (00:03 +0200) |
Some "special" plugins are documented in their own manpages. If such a manpape
exists for any plugin being installed to its own package install the manpage
to that package as well.
exists for any plugin being installed to its own package install the manpage
to that package as well.
debian/rules | patch | blob | history |
diff --git a/debian/rules b/debian/rules
index a0a50295c8886dadca95911947fb5969ae9ebf28..4fea9abf6085156732724e743fe18c3fd76d85c7 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
for PLUGIN in apache dns mysql perl ping sensors; do \
plugin_dir=debian/collectd-$$PLUGIN/usr/lib/collectd/; \
+ manpage=debian/collectd/usr/share/man/man5/collectd-$$PLUGIN.5; \
+ man_dir=debian/collectd-$$PLUGIN/usr/share/man/man5/; \
+ \
mkdir -p $$plugin_dir; \
mv debian/collectd/usr/lib/collectd/$$PLUGIN.so $$plugin_dir; \
+ \
+ if [ -e $$manpage ]; then \
+ mkdir -p $$man_dir; \
+ mv $$manpage $$man_dir; \
+ fi \
done
mkdir -p debian/collectd/usr/lib/collectd/utils/