Changeset 18902

Show
Ignore:
Timestamp:
05/25/06 16:43:49 (3 years ago)
Author:
dshipton
Message:

Install into the versioned directories.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vrjuggler/vrjconfig/configure.ac

    r18824 r18902  
    4848# Command-line arguments (--enable-option, --with-pkg=package_name). 
    4949# ----------------------------------------------------------------------------- 
    50  
     50# Enable versioning by default 
     51AC_ARG_ENABLE([versioning], 
     52              [  --disable-versioning    Disable all versioning capabilities], 
     53              [ENABLE_VERSIONING="$enableval"], [ENABLE_VERSIONING='yes']) 
    5154# -------------------------------------------- # 
    5255# --with-pkg[=arg] and --without-pkg arguments # 
     
    173176# Finalize substitution settings. 
    174177# ----------------------------------------------------------------------------- 
     178# 
     179 
     180VJ_VERSION_GROK(../VERSION) 
     181 
     182if test "x$ENABLE_VERSIONING" = "xyes" ; then 
     183   VRJ_VERSION_DOT="$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION" 
     184   DATA_VERSION="vrjuggler-$VRJ_VERSION_DOT" 
     185   PLUGIN_DIR_VERSION="vrjuggler-$VRJ_VERSION_DOT" 
     186 
     187# If versioning is disabled, then none of the version variables need to be 
     188# set except for $DATA_VERSION. Its use is different than the others. The 
     189# important thing to note is that the directory name is unversioned in this 
     190# case. 
     191else 
     192   DATA_VERSION="vrjuggler" 
     193   PLUGIN_DIR_VERSION="vrjuggler" 
     194fi 
    175195 
    176196# Define the base path to the source directory using $(VJROOT_ABS) as an 
     
    207227AC_SUBST(JUGGLERROOT_ABS) 
    208228 
     229AC_SUBST(DATA_VERSION) 
     230AC_SUBST(PLUGIN_DIR_VERSION) 
    209231AC_SUBST(ANT) 
    210232AC_SUBST(RM_LN) 
  • juggler/trunk/modules/vrjuggler/vrjconfig/make.defs.mk.in

    r18824 r18902  
    5353# Base variables needed by all makefiles. 
    5454# ----------------------------------------------------------------------------- 
    55 projdatadir=            $(datadir)/vrjuggler 
     55projdatadir=            $(datadir)/@DATA_VERSION@ 
    5656releasedir=             @JUGGLERROOT_ABS@/release 
    5757scriptdir=              $(releasedir)/scripts