From 644a08fb23b59aa9399d69001b1b9e2a14377c19 Mon Sep 17 00:00:00 2001 From: debian Date: Sat, 25 Sep 2010 20:28:46 -0400 Subject: [PATCH] install default voicemail template into /etc/sems/etc --- apps/voicemail/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/voicemail/Makefile b/apps/voicemail/Makefile index facd57a5..80f0ba8d 100644 --- a/apps/voicemail/Makefile +++ b/apps/voicemail/Makefile @@ -21,12 +21,12 @@ extra_install = install_email_template $(plug_in_name)_audio vm_module: all .PHONY: install_email_template -install_email_template: $(DESTDIR)$(cfg-target) - $(INSTALL-TOUCH) $(DESTDIR)$(cfg-target)default.template.sample - $(INSTALL-CFG) default.template.sample $(DESTDIR)$(cfg-target) - if [ ! -f $(DESTDIR)$(cfg-target)default.template ]; then \ - cp -f $(DESTDIR)$(cfg-target)default.template.sample \ - $(DESTDIR)$(cfg-target)default.template; \ +install_email_template: $(DESTDIR)$(app-cfg-target) + $(INSTALL-TOUCH) $(DESTDIR)$(app-cfg-target)default.template.sample + $(INSTALL-CFG) default.template.sample $(DESTDIR)$(app-cfg-target) + if [ ! -f $(DESTDIR)$(app-cfg-target)default.template ]; then \ + cp -f $(DESTDIR)$(app-cfg-target)default.template.sample \ + $(DESTDIR)$(app-cfg-target)default.template; \ fi