[SM-Commit] PERFORCE change 77969 by Pol Vinogradov for review

Perforce Review Daemon p4review at smee.org
Tue Apr 18 16:55:17 EDT 2006


Change 77969 by pol_vinogradov at public on 2006/04/18 21:51:14

	more fixes about nanorc stuff

Affected files ...

... //sgl/grimoires/devel/editors/nano/BUILD#4 edit
... //sgl/grimoires/devel/editors/nano/HISTORY#19 edit
... //sgl/grimoires/devel/editors/nano/INSTALL#3 edit
... //sgl/grimoires/devel/editors/nano/spell-config/nanorc#1 add
... //sgl/grimoires/devel/editors/nano/spellhighlight.diff#2 delete

Differences ...

==== //sgl/grimoires/devel/editors/nano/BUILD#4 (xtext) ====

@@ -1,11 +1,5 @@
   OPTS="$OPTS --build=${BUILD} ${NANO_OPTS}"
   [[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}"
-  if [[ "$SPELL_HIGHLIGHT" == "y" ]]; then
-    cd  doc                                              &&
-    patch -p0 < ${SCRIPT_DIRECTORY}/spellhighlight.diff  &&
-    cd  ${SOURCE_DIRECTORY}
-  fi                                          &&
-                    
 
   ./configure --prefix=${TRACK_ROOT}/usr  \
           --sysconfdir=${TRACK_ROOT}/etc  \

==== //sgl/grimoires/devel/editors/nano/HISTORY#19 (text) ====

@@ -1,8 +1,10 @@
 2006-04-19 Pol Vinogradov <vin.public at gmail.com>
+	* spell-config/nanorc: added, used for spell highlighting and SMGL
+	  specific needs (thanks e-type and ruskie for idea)
 	* CONFIGURE: added query for spell highlighting
-	* BUILD: if statement added, patch if needed
-	* INSTALL: added if and install_config_file
-	* spellhighlight.diff: added
+	* BUILD: if statement removed
+	* INSTALL: added ifs and install_config_files for various nanorc
+	* spellhighlight.diff: removed
 
 2006-03-30 Sergey Lipnevich <sergey at sourcemage.org>
 	* DETAILS: upgrade to 1.3.11.

==== //sgl/grimoires/devel/editors/nano/INSTALL#3 (xtext) ====

@@ -1,5 +1,9 @@
 make install DESTDIR=$INSTALL_ROOT  &&
 
-if [[ "${NANO_CONFIG}" == "all" || $( echo ${NANO_OPTS} | grep -o enable-nanorc ) = "enable-nanorc" ]] ; then
+if [[ "${NANO_CONFIG}" == "all" || $( echo ${NANO_OPTS} | grep -o enable-nanorc ) = "enable-nanorc" &&
+! "${SPELL_HIGHLIGHT}" == "y" ]] ; then
   install_config_file  doc/nanorc.sample  $INSTALL_ROOT/etc/nanorc
+elif [[ "${SPELL_HIGHLIGHT}" == "y" ]] ; then
+  install_config_file  $SCRIPT_DIRECTORY/spell-config/nanorc  $INSTALL_ROOT/etc/nanorc
 fi
+



More information about the SM-Commit mailing list