Changeset 18902
- Timestamp:
- 05/25/06 16:43:49 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vrjuggler/vrjconfig/configure.ac
r18824 r18902 48 48 # Command-line arguments (--enable-option, --with-pkg=package_name). 49 49 # ----------------------------------------------------------------------------- 50 50 # Enable versioning by default 51 AC_ARG_ENABLE([versioning], 52 [ --disable-versioning Disable all versioning capabilities], 53 [ENABLE_VERSIONING="$enableval"], [ENABLE_VERSIONING='yes']) 51 54 # -------------------------------------------- # 52 55 # --with-pkg[=arg] and --without-pkg arguments # … … 173 176 # Finalize substitution settings. 174 177 # ----------------------------------------------------------------------------- 178 # 179 180 VJ_VERSION_GROK(../VERSION) 181 182 if 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. 191 else 192 DATA_VERSION="vrjuggler" 193 PLUGIN_DIR_VERSION="vrjuggler" 194 fi 175 195 176 196 # Define the base path to the source directory using $(VJROOT_ABS) as an … … 207 227 AC_SUBST(JUGGLERROOT_ABS) 208 228 229 AC_SUBST(DATA_VERSION) 230 AC_SUBST(PLUGIN_DIR_VERSION) 209 231 AC_SUBST(ANT) 210 232 AC_SUBST(RM_LN) juggler/trunk/modules/vrjuggler/vrjconfig/make.defs.mk.in
r18824 r18902 53 53 # Base variables needed by all makefiles. 54 54 # ----------------------------------------------------------------------------- 55 projdatadir= $(datadir)/ vrjuggler55 projdatadir= $(datadir)/@DATA_VERSION@ 56 56 releasedir= @JUGGLERROOT_ABS@/release 57 57 scriptdir= $(releasedir)/scripts
