summaryrefslogtreecommitdiff
path: root/net/kamailio/files/patch-Makefile
blob: a5a88fe0b6d32375248904f9ac3c219a1b68066f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	2014-08-06 15:29:50 UTC
+++ Makefile
@@ -95,7 +95,7 @@
 # whether or not to install $(MAIN_NAME).cfg or just $(MAIN_NAME).cfg.default
 # ($(MAIN_NAME).cfg will never be overwritten by make install, this is usefull
 #  when creating packages)
-skip_cfg_install?=
+skip_cfg_install?=yes
 
 #extra modules to exclude
 skip_modules?=
@@ -820,8 +820,8 @@
 			fi ; \
 		done; true
 		# radius dictionary
-		$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME)
-		$(INSTALL_CFG) etc/dictionary.$(CFG_NAME) $(cfg_prefix)/$(cfg_dir)
+		$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME).sample
+		$(INSTALL_CFG) etc/dictionary.$(CFG_NAME) $(cfg_prefix)/$(cfg_dir)/dictionary.$(CFG_NAME).sample
 
 install-bin: $(bin_prefix)/$(bin_dir) $(NAME)
 		$(INSTALL_TOUCH) $(bin_prefix)/$(bin_dir)/$(NAME)