summaryrefslogtreecommitdiffstats
path: root/net/freeswitch-core-devel/files/patch-libs-freetdm-mod_freetdm-Makefile.in
blob: 2cd545c59f52fd426cf91bdedaf309d224ae7022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- libs/freetdm/mod_freetdm/Makefile.in
+++ libs/freetdm/mod_freetdm/Makefile.in
@@ -15,8 +15,7 @@ $(FTLA): $(FT_DIR)/.update
 
 local_install:
 	cd $(FT_DIR) && $(MAKE) install
-	[ -f $(DESTDIR)@confdir@/autoload_configs/freetdm.conf.xml ] || cp -f $(FT_DIR)/conf/freetdm.conf.xml  $(DESTDIR)@confdir@/autoload_configs
-
+	@for i in $(FT_DIR)/conf/*.xml; do cp -p $$i $$i.sample; done; [ -f $(DESTDIR)@confdir@/autoload_configs/freetdm.conf.xml.sample ] || cp -f -p $(FT_DIR)/conf/freetdm.conf.xml.sample $(DESTDIR)@confdir@/autoload_configs
 local_clean:
 	cd $(FT_DIR) && $(MAKE) clean
 
OpenPOWER on IntegriCloud