[Freeswitch-trunk] [commit] r6403 - freeswitch/trunk

Freeswitch SVN mikej at freeswitch.org
Mon Nov 26 18:59:00 EST 2007


Author: mikej
Date: Mon Nov 26 18:59:00 2007
New Revision: 6403

Modified:
   freeswitch/trunk/Makefile.am

Log:
install missing config files and the new mime.types file

Modified: freeswitch/trunk/Makefile.am
==============================================================================
--- freeswitch/trunk/Makefile.am	(original)
+++ freeswitch/trunk/Makefile.am	Mon Nov 26 18:59:00 2007
@@ -160,14 +160,12 @@
 	@for x in conf conf/dialplan conf/directory conf/sip_profiles mod db log log/xml_cdr bin scripts htdocs grammar ; do \
 		$(mkinstalldirs) $(DESTDIR)$(prefix)/$$x ; \
 	 done
-	@if [ ! -f $(DESTDIR)$(PREFIX)/conf/freeswitch.xml ] ; then \
-		for conffile in `find conf -name \*.xml && find conf -name \*.conf` ; do \
-			dir=`echo $$conffile | sed -e 's|/[^/]*$$||'`; \
-			filename=`echo $$conffile | sed -e 's|^.*/||'`; \
-			test -d $(DESTDIR)$(PREFIX)/$$dir || $(mkinstalldirs) $(DESTDIR)$(prefix)/$$dir ; \
-			$(INSTALL) $$dir/$$filename $(DESTDIR)$(PREFIX)/$$dir; \
-		done ; \
-	 fi
+	for conffile in `find conf -name \*.xml && find conf -name \*.conf && find conf -name mime.types` ; do \
+		dir=`echo $$conffile | sed -e 's|/[^/]*$$||'`; \
+		filename=`echo $$conffile | sed -e 's|^.*/||'`; \
+		test -d $(DESTDIR)$(PREFIX)/$$dir || $(mkinstalldirs) $(DESTDIR)$(prefix)/$$dir ; \
+		test -f $(DESTDIR)$(PREFIX)/$$dir/$$filename || $(INSTALL) $$dir/$$filename $(DESTDIR)$(PREFIX)/$$dir; \
+	done ; \
 
 .version:
 	touch .version



More information about the Freeswitch-trunk mailing list