[Freeswitch-svn] [commit] r7979 - freeswitch/trunk/scripts

Freeswitch SVN stkn at freeswitch.org
Fri Mar 28 20:49:22 EDT 2008


Author: stkn
Date: Fri Mar 28 20:49:21 2008
New Revision: 7979

Modified:
   freeswitch/trunk/scripts/fsxs.in

Log:
Change variable naming to be more configure-like (except for --confdir)


Modified: freeswitch/trunk/scripts/fsxs.in
==============================================================================
--- freeswitch/trunk/scripts/fsxs.in	(original)
+++ freeswitch/trunk/scripts/fsxs.in	Fri Mar 28 20:49:21 2008
@@ -20,12 +20,12 @@
 	LDFLAGS => '@LDFLAGS@',
 	SOLINK => '@SOLINK@',
 
-	MODULES_DIR => '@MODULES_DIR@',
-	LIB_DIR => '@LIB_DIR@',
-	BIN_DIR => '@BIN_DIR@',
-	INC_DIR => '@INC_DIR@',
-	DB_DIR => '@DB_DIR@',
-	CFG_DIR => '@CFG_DIR@',
+	MODULESDIR => '@MODULES_DIR@',
+	LIBDIR => '@LIB_DIR@',
+	BINDIR => '@BIN_DIR@',
+	INCLUDEDIR => '@INC_DIR@',
+	DBDIR => '@DB_DIR@',
+	CONFDIR => '@CFG_DIR@',
 	PREFIX => '@PREFIX@'
 );
 
@@ -84,7 +84,7 @@
 
 	print "Variable names for \"fsxs show\" / \"fsxs --var\":\n";
 	print "\tcflags ldflags libs solink includes cc ld mkdir install\n";
-	print "\tprefix lib_dir modules_dir db_dir inc_dir cfg_dir bin_dir\n";
+	print "\tprefix libdir modulesdir dbdir includedir confdir bindir\n";
 	print "\n";
 
 	print "Examples:\n";
@@ -135,7 +135,7 @@
 
 sub fsxs_install {
 	my @files = @_;
-	my $destination = $vars{DESTDIR} . $vars{MODULES_DIR};
+	my $destination = $vars{DESTDIR} . $vars{MODULESDIR};
 
 	# check if destination exists, create if it doesn't
 	if( ! -e $destination ) {



More information about the Freeswitch-svn mailing list