Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37858901
en ru br
ALT Linux repos
S:7.0.3-alt1
5.0: 4.11-alt4
4.1: 4.11-alt3
4.0: 4.8-alt4
3.0: 4.8-alt2

Group :: Publishing
RPM: texinfo

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: texinfo-4.6-alt-install-info-rpm_excludedocs.patch
Download


--- texinfo-4.6/util/install-info.c.orig	2003-10-27 17:11:27 +0300
+++ texinfo-4.6/util/install-info.c	2003-10-27 17:27:44 +0300
@@ -1243,6 +1243,16 @@ For more information about these matters
   if (!dirfile)
     fatal (_("No dir file specified; try --help for more information."), 0, 0);
 
+  {
+    const char *skip = getenv ("RPM_EXCLUDEDOCS");
+
+    while (skip && *skip && isspace(*skip))
+      ++skip;
+
+    if (skip && *skip)
+      return EXIT_SUCCESS;
+  }
+
   /* Read the Info file and parse it into lines, unless we're deleting.  */
   if (!delete_flag)
     {
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin