]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Change variable naming to be more configure-like (except for --confdir)
authorStefan Knoblich <stkn@freeswitch.org>
Sat, 29 Mar 2008 00:49:21 +0000 (00:49 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Sat, 29 Mar 2008 00:49:21 +0000 (00:49 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7979 d0543943-73ff-0310-b7d9-9358b9ac24b2

scripts/fsxs.in

index 89783afbe17250270ebf2233e4ebda0ddf9f5d5c..11966d03e1ee2ce62a4a6013cae0f708a2375cc0 100755 (executable)
@@ -20,12 +20,12 @@ my %vars = (
        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 @@ sub fsxs_usage {
 
        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_link {
 
 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 ) {