mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
configs: Move sample config files into a subdirectory of configs
This moves all samples configs from configs/ to configs/samples. This allows for additional sets of sample configuration files to be added in the future. Review: https://reviewboard.asterisk.org/r/3804/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
Makefile
4
Makefile
@@ -660,7 +660,7 @@ upgrade: bininstall
|
||||
adsi:
|
||||
@echo Installing adsi config files...
|
||||
$(INSTALL) -d "$(DESTDIR)$(ASTETCDIR)"
|
||||
@for x in configs/*.adsi; do \
|
||||
@for x in configs/samples/*.adsi; do \
|
||||
dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \
|
||||
if [ -f "$${dst}" ] ; then \
|
||||
echo "Overwriting $$x" ; \
|
||||
@@ -672,7 +672,7 @@ adsi:
|
||||
|
||||
samples: adsi
|
||||
@echo Installing other config files...
|
||||
@for x in configs/*.sample; do \
|
||||
@for x in configs/samples/*.sample; do \
|
||||
dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`" ; \
|
||||
if [ -f "$${dst}" ]; then \
|
||||
if [ "$(OVERWRITE)" = "y" ]; then \
|
||||
|
Reference in New Issue
Block a user