-----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-----
? 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

--
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/

Reply via email to