Moved most of debathena config into invirt-base
[invirt/packages/invirt-console.git] / debian / rules
1 #!/usr/bin/make -f
2
3 DEB_DIVERT_EXTENSION = .invirt
4 DEB_TRANSFORM_FILES_invirt-console-server += \
5         /etc/init.d/bootmisc.sh.invirt \
6         /etc/nsswitch.conf.invirt \
7         /etc/nscd.conf.invirt \
8         /etc/pam.d/sshd.invirt \
9         /etc/ssh/sshd_config.invirt.invirt
10
11 ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),)
12     DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.invirt = \
13         /usr/share/base-files/nsswitch.conf
14 endif
15
16 DEB_DIVERT_FILES_invirt-console-server += \
17         /etc/conserver/conserver.cf.invirt \
18         /etc/motd.invirt
19 DEB_DIVERT_FILES_invirt-console-host += \
20         /etc/conserver/conserver.cf.invirt \
21         /etc/conserver/server.conf.invirt
22
23 include /usr/share/cdbs/1/rules/debhelper.mk
24 include /usr/share/cdbs/1/rules/config-package.mk