source: trunk/packages/xvm-munin-config/debian/rules @ 2958

Last change on this file since 2958 was 2901, checked in by gdb, 15 years ago

Added cleans for the generated mako templates

  • Property svn:executable set to *
File size: 805 bytes
Line 
1#!/usr/bin/make -f
2
3DEB_DIVERT_EXTENSION = .xvm
4
5DEB_DIVERT_FILES_xvm-munin-host-config += \
6        /etc/munin/munin-node.conf.xvm
7DEB_DIVERT_FILES_xvm-munin-master-config += \
8        /etc/munin/munin-node.conf.xvm
9DEB_DIVERT_FILES_xvm-munin-remote-config += \
10        /etc/munin/munin-node.conf.xvm
11DEB_DIVERT_FILES_xvm-munin-console-config += \
12        /etc/munin/munin-node.conf.xvm
13
14include /usr/share/cdbs/1/rules/config-package.mk
15include /usr/share/cdbs/1/rules/debhelper.mk
16
17common-build-indep:: debian/munin-node.conf.xvm.mako
18
19binary-post-install/%::
20        mkdir -p $(DEB_DESTDIR)/etc/munin
21        touch $(DEB_DESTDIR)/etc/munin/munin-node.conf.xvm
22
23debian/munin-node.conf.xvm.mako: $(call debian_check_files,/etc/munin/munin-node.conf)
24        debian/transform_munin-node.conf.xvm.mako < $< > $@
25
26clean::
27        debian/munin-node.conf.xvm.mako
Note: See TracBrowser for help on using the repository browser.