aboutsummaryrefslogtreecommitdiff
path: root/net/freeswitch-core/files/patch-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'net/freeswitch-core/files/patch-Makefile.am')
-rw-r--r--net/freeswitch-core/files/patch-Makefile.am41
1 files changed, 29 insertions, 12 deletions
diff --git a/net/freeswitch-core/files/patch-Makefile.am b/net/freeswitch-core/files/patch-Makefile.am
index 45caf1210cad..b0b9b6dce76b 100644
--- a/net/freeswitch-core/files/patch-Makefile.am
+++ b/net/freeswitch-core/files/patch-Makefile.am
@@ -1,23 +1,40 @@
---- Makefile.am 2010-06-22 17:19:37.000000000 -0400
-+++ Makefile.am 2010-07-02 11:45:29.000000000 -0400
-@@ -426,7 +426,7 @@
+--- Makefile.am.orig
++++ Makefile.am
+@@ -453,8 +453,9 @@ vm-sync:
+ test -d $(DESTDIR)$(sysconfdir)/lang/en || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lang/en
+ test -d $(DESTDIR)$(sysconfdir)/lang/en/demo || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lang/en/demo
+ test -d $(DESTDIR)$(sysconfdir)/lang/en/vm || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lang/en/vm
+- $(INSTALL) -m 644 $(switch_srcdir)/conf/lang/en/vm/* $(DESTDIR)$(sysconfdir)/lang/en/vm
+- $(INSTALL) -m 644 $(switch_srcdir)/conf/lang/en/demo/* $(DESTDIR)$(sysconfdir)/lang/en/demo
++ $(INSTALL) -m 664 $(switch_srcdir)/conf/lang/en/vm/* $(DESTDIR)$(sysconfdir)/lang/en/vm/$$filename.sample; \
++ $(INSTALL) -m 664 $(switch_srcdir)/conf/lang/en/demo/* $(DESTDIR)$(sysconfdir)/lang/en/demo/$$filename.sample; \
++ done
+
+ samples-conf:
+ test -d $(DESTDIR)$(sysconfdir) || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+@@ -462,9 +463,7 @@ samples-conf:
+ dir=`echo $$conffile | sed -e 's|^\.||' | sed -e 's|/[^/]*$$||'`; \
+ filename=`echo $$conffile | sed -e 's|^\.||' | sed -e 's|^.*/||'`; \
test -d $(DESTDIR)$(sysconfdir)$$dir || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)$$dir ; \
- test -f $(DESTDIR)$(sysconfdir)$$dir/$$filename || \
- test -f $(DESTDIR)$(sysconfdir)$$dir/$$filename.noload || \
+- test -f $(DESTDIR)$(sysconfdir)$$dir/$$filename || \
+- test -f $(DESTDIR)$(sysconfdir)$$dir/$$filename.noload || \
- $(INSTALL) -m 644 $(switch_srcdir)/conf/$$dir/$$filename $(DESTDIR)$(sysconfdir)$$dir; \
-+ $(INSTALL) -m 644 $(switch_srcdir)/conf/$$dir/$$filename $(DESTDIR)$(sysconfdir)$$dir/$$filename.sample; \
++ $(INSTALL) -m 664 $(switch_srcdir)/conf/$$dir/$$filename $(DESTDIR)$(sysconfdir)$$dir/$$filename.sample; \
done
samples-htdocs:
-@@ -444,8 +444,9 @@
+@@ -482,11 +481,10 @@ install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(modulesdir)
install-data-local:
- @echo Installing $(NAME)
- @for x in $(modulesdir) $(runtimedir) $(dbdir) $(logfiledir) $(logfiledir)/xml_cdr $(bindir) $(scriptdir) $(recordingsdir) $(grammardir); do \
-+ @for x in $(bindir) $(modulesdir) $(runtimedir) $(logfiledir) \
-+ $(logfiledir)/xml_cdr $(dbdir) $(grammardir) $(scriptdir) \
-+ $(storagedir) $(recordingsdir) $(voicemaildir) ; do \
++ @for x in $(bindir) $(modulesdir) $(runtimedir) $(logfiledir) $(logfiledir)/xml_cdr $(dbdir) $(grammardir) $(scriptdir) $(storagedir) $(recordingsdir) $(voicemaildir) ; do \
$(mkinstalldirs) $(DESTDIR)$$x ; \
- done
- test -d $(DESTDIR)$(sysconfdir) || $(MAKE) samples-conf
+- done
+- test -d $(DESTDIR)$(sysconfdir) || $(MAKE) samples-conf
++ done
++ $(MAKE) samples-conf
+ test -d $(DESTDIR)$(htdocsdir) || $(MAKE) samples-htdocs
+
+ is-scm: