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

Last change on this file since 3049 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
RevLine 
[1496]1#!/usr/bin/make -f
2
3DEB_DIVERT_EXTENSION = .xvm
4
5DEB_DIVERT_FILES_xvm-iscsi-config += \
[1980]6        /etc/iscsi/iscsid.conf.xvm \
7        /etc/multipath.conf.xvm
[1496]8
[1510]9DEB_DH_INSTALLINIT_ARGS += --no-start
[1496]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
[1510]17binary-post-install/xvm-iscsi-config::
18        touch $(DEB_DESTDIR)/etc/iscsi/iscsid.conf.xvm
19
[1496]20debian/iscsid.conf.xvm.mako: $(call debian_check_files,/etc/iscsi/iscsid.conf)
21        debian/transform_iscsid.conf.xvm.mako < $< > $@
[2901]22
23clean::
24        rm -f debian/iscsid.conf.xvm.mako
Note: See TracBrowser for help on using the repository browser.