sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Arjan Bouter (d81a6d9e1a8e76b1880db804d87b3fac24a18bed)
- From: Arjan Bouter <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Arjan Bouter (d81a6d9e1a8e76b1880db804d87b3fac24a18bed)
- Date: Mon, 27 Aug 2007 08:52:45 -0500
GIT changes to master grimoire by Arjan Bouter <abouter AT sourcemage.org>:
utils/grep/BUILD | 6 +++++-
utils/grep/DEPENDS | 7 ++++++-
utils/grep/DETAILS | 1 +
utils/grep/HISTORY | 5 +++++
utils/grep/INSTALL | 6 ++++--
5 files changed, 21 insertions(+), 4 deletions(-)
New commits:
commit d81a6d9e1a8e76b1880db804d87b3fac24a18bed
Author: Arjan Bouter <abouter AT sourcemage.org>
Commit: Arjan Bouter <abouter AT sourcemage.org>
grep: made texinfo optional
diff --git a/utils/grep/BUILD b/utils/grep/BUILD
index 8cb1536..2c217a5 100755
--- a/utils/grep/BUILD
+++ b/utils/grep/BUILD
@@ -7,5 +7,9 @@
--mandir=${TRACK_ROOT}/usr/share/man \
--infodir=${TRACK_ROOT}/usr/share/info \
$OPTS &&
- make DESTDIR=$INSTALL_ROOT
+if ! is_depends_enabled texinfo; then
+ message "texinfo is DISabled"
+ sedit 's/lib\ doc\ src/lib\ src/' Makefile
+fi &&
+make DESTDIR=$INSTALL_ROOT
diff --git a/utils/grep/DEPENDS b/utils/grep/DEPENDS
index 43e650b..af989fb 100755
--- a/utils/grep/DEPENDS
+++ b/utils/grep/DEPENDS
@@ -4,4 +4,9 @@ depends smgl-fhs &&
optional_depends pcre \
'--enable-perl-regexp' \
'--disable-perl-regexp' \
- 'for Perl-style regex support'
+ 'for Perl-style regex support' &&
+
+optional_depends texinfo \
+ '' \
+ '' \
+ 'to install the documentation'
diff --git a/utils/grep/DETAILS b/utils/grep/DETAILS
index 65f9721..c65ce63 100755
--- a/utils/grep/DETAILS
+++ b/utils/grep/DETAILS
@@ -13,6 +13,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
WEB_SITE=http://www.gnu.org/software/grep/
ENTERED=20010922
LICENSE[0]=GPL
+ PATCHLEVEL=1
KEYWORDS="utils"
SHORT="grep finds lines that match specified patterns"
cat << EOF
diff --git a/utils/grep/HISTORY b/utils/grep/HISTORY
index 750b512..fc6b0ed 100755
--- a/utils/grep/HISTORY
+++ b/utils/grep/HISTORY
@@ -1,3 +1,8 @@
+2007-08-14 Arjan Bouter <abouter AT sourcemage.org>
+ * DETAILS: patchlevel++
+ * DEPENDS: made texinfo optional
+ * INSTALL: only try to install the docs when texinfo is installed
+
2007-08-05 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 2.5.3
change GPG from gnu-verified to gnu
diff --git a/utils/grep/INSTALL b/utils/grep/INSTALL
index 28598d4..77171d9 100755
--- a/utils/grep/INSTALL
+++ b/utils/grep/INSTALL
@@ -1,3 +1,5 @@
make install DESTDIR=$INSTALL_ROOT &&
-install-info --info-dir="${INSTALL_ROOT}/usr/share/info"\
- ${INSTALL_ROOT}/usr/share/info/grep.info
+if is_depends_enabled texinfo; then
+ install-info --info-dir="${INSTALL_ROOT}/usr/share/info"\
+ ${INSTALL_ROOT}/usr/share/info/grep.info
+fi
- [SM-Commit] GIT changes to master grimoire by Arjan Bouter (d81a6d9e1a8e76b1880db804d87b3fac24a18bed), Arjan Bouter, 08/27/2007
Archive powered by MHonArc 2.6.24.