ogajduse / rpms / texlive

Forked from rpms/texlive 6 years ago
Clone
4931932
---
4931932
 build/source/Build |   22 ++++++++++++++++++----
4931932
 1 file changed, 18 insertions(+), 4 deletions(-)
4931932
4931932
Index: texlive-bin-2007/build/source/Build
4931932
===================================================================
4931932
--- texlive-bin-2007.orig/build/source/Build	2006-12-14 03:12:38.000000000 +0100
4931932
+++ texlive-bin-2007/build/source/Build	2007-02-14 15:56:00.000000000 +0100
4931932
@@ -47,11 +47,25 @@
4931932
 
4931932
 # Force building xdvi-xaw; motif is not always free and/or available.
4931932
 # --enable-gif is for sam2p; the gif patent has expired worldwide.
4931932
-(set -x; \
4931932
-  time $TL_CONFIGURE \
4931932
+case $1 in
4931932
+  configure)
4931932
+    shift
4931932
+    (set -x; \
4931932
+      $TL_CONFIGURE \
4931932
          --prefix=$TL_INSTALL_DEST \
4931932
          --datadir=$TL_INSTALL_DEST \
4931932
          $TL_XDVI_TOOLKIT \
4931932
          $TL_CONFIGURE_ARGS \
4931932
-         "$@" \
4931932
- && time $TL_MAKE $TL_TARGET)
4931932
+         "$@" )
4931932
+    ;;
4931932
+  build)
4931932
+    # not make world, this would strip
4931932
+    shift
4931932
+    make all
4931932
+    make install
4931932
+    ;;
4931932
+  *)
4931932
+    echo "This script must be invoked with argument configure or build"
4931932
+    ;;
4931932
+esac
4931932
+