Show
Ignore:
Timestamp:
05.07.2018 22:57:28 (2 years ago)
Author:
ak19
Message:

Committing new helper script move-cmake.sh that will move cmake out of or back into the compilation area. These 2 functions of the script are called by XPDFTOOL.sh after compiling up xpdftools and by CMAKE.sh when searching for an existing CMake within the xpdftools extension to compile up xpdftools.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/CMAKE.sh

    r32238 r32239  
    3131fi 
    3232 
     33# Check that CMake products weren't just moved out of the distribution area, 
     34# before recompiling all of CMake 
     35if [[ ! -e "$GEXTXPDFTOOLS_INSTALLED/bin/cmake" && -e "$GEXT_XPDFTOOLS/devel/$GSDLOS/bin/cmake" ]]; then 
     36    echo "**************************************" 
     37    echo "Moving intermediary CMake products back for development" 
     38    $GEXT_XPDFTOOLS/move-cmake.sh back 
     39    echo "**************************************" 
     40else 
     41    echo "@@@@ $GEXT_XPDFTOOLS/devel/$GSDLOS/bin/cmake does not exist" 
     42    echo "**************************************" 
     43fi 
     44 
    3345# Only compile if necessary - we don't edit these source files: 
    3446# Only compile up OUR cmake, and only if we haven't already got OUR cmake.