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

Last change on this file since 2965 was 2960, checked in by broder, 15 years ago

Don't *run* the munin-node.conf.xvm.mako file in the clean target. *rm* it

  • Property svn:executable set to *
File size: 811 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        rm -f debian/munin-node.conf.xvm.mako
Note: See TracBrowser for help on using the repository browser.