delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/04/17:15:40

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <481E2768.1070603@users.sourceforge.net>
Date: Sun, 04 May 2008 16:15:20 -0500
From: "Yaakov (Cygwin Ports)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygport missing features after 0.3.9
References: <announce DOT 48113324 DOT 7040007 AT cwilson DOT fastmail DOT fm> <48113B20 DOT 4060305 AT users DOT sourceforge DOT net> <4811437C DOT 6090405 AT cwilson DOT fastmail DOT fm> <481152E1 DOT 80808 AT users DOT sourceforge DOT net> <481253CC DOT 8050909 AT cwilson DOT fastmail DOT fm> <4813DCB6 DOT 4010002 AT cwilson DOT fastmail DOT fm> <481947EC DOT 8020600 AT users DOT sourceforge DOT net>
In-Reply-To: <481947EC.8020600@users.sourceforge.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------050806090105020103060302
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Yaakov (Cygwin Ports) wrote:
| I would prefer a RESTRICT="postinst-doc" option, in which case one can
| install the docs manually during src_install().  I hope to make a patch
| in the next few days.

How about this?


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkgeJ2cACgkQpiWmPGlmQSOQcgCgnxJAsaF/cbJdoNvEQTLVjoUA
S5YAoLYiiiJhkFxx+VCTILh8JHLnvN05
=61Ds
-----END PGP SIGNATURE-----

--------------050806090105020103060302
Content-Type: text/plain;
 name="postinst-doc.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="postinst-doc.patch"

? patches
? tmp
? tools
Index: bin/cygport.in
===================================================================
RCS file: /cvsroot/cygwin-ports/cygport/bin/cygport.in,v
retrieving revision 1.109
diff -u -r1.109 cygport.in
--- bin/cygport.in	4 May 2008 06:51:03 -0000	1.109
+++ bin/cygport.in	4 May 2008 21:12:33 -0000
@@ -1342,14 +1342,19 @@
 
 	cd ${S};
 
-	unset _docinto_dir;
-	dodoc ${default_docs} ${DOCS};
+	if defined _CYGPORT_RESTRICT_postinst_doc_
+	then
+		inform "Skipping package doc installation per request";
+	else
+		unset _docinto_dir;
+		dodoc ${default_docs} ${DOCS};
 
-	for html in ${HTMLDOCS}
-	do
-		docinto html;
-		dodoc ${html};
-	done
+		for html in ${HTMLDOCS}
+		do
+			docinto html;
+			dodoc ${html};
+		done
+	fi
 
 	if [ -e ${C}/README ]
 	then


--------------050806090105020103060302
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------050806090105020103060302--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019