--- Makefile.orig Thu Feb 1 04:08:39 2007 +++ Makefile Thu Oct 25 00:05:18 2007 @@ -7,6 +7,7 @@ # NAME=app_notify +CONF=extensions_dialer.conf CC=gcc CFLAGS=$(shell ./cflags.sh) @@ -21,7 +22,7 @@ CC=gcc -arch ppc -arch i386 else SOLINK=-shared -Xlinker -x - MODULES_DIR=/usr/lib/asterisk/modules + MODULES_DIR=$(LOCALBASE)/lib/asterisk/modules endif RES=$(NAME).so @@ -35,6 +36,7 @@ rm -f $(NAME).o $(NAME).so notifyClient.o notifyClient sampleClient install: all + install -m 644 $(CONF).sample $(LOCALBASE)/etc/asterisk/$(CONF).sample ; \ if [ -f $(NAME).so ]; then \ install -m 755 $(NAME).so $(MODULES_DIR) ; \ fi