source: trunk/packages/xvm-iscsi-config/debian/rules @ 2955

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

Added cleans for the generated mako templates

  • Property svn:executable set to *
File size: 646 bytes
Line 
1#!/usr/bin/make -f
2
3DEB_DIVERT_EXTENSION = .xvm
4
5DEB_DIVERT_FILES_xvm-iscsi-config += \
6        /etc/iscsi/iscsid.conf.xvm \
7        /etc/multipath.conf.xvm
8
9DEB_DH_INSTALLINIT_ARGS += --no-start
10DEB_UPDATE_RCD_PARAMS_xvm-iscsi-config += defaults 20 80
11
12include /usr/share/cdbs/1/rules/config-package.mk
13include /usr/share/cdbs/1/rules/debhelper.mk
14
15common-build-indep:: debian/iscsid.conf.xvm.mako
16
17binary-post-install/xvm-iscsi-config::
18        touch $(DEB_DESTDIR)/etc/iscsi/iscsid.conf.xvm
19
20debian/iscsid.conf.xvm.mako: $(call debian_check_files,/etc/iscsi/iscsid.conf)
21        debian/transform_iscsid.conf.xvm.mako < $< > $@
22
23clean::
24        rm -f debian/iscsid.conf.xvm.mako
Note: See TracBrowser for help on using the repository browser.