Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261618AbTILAwB (ORCPT ); Thu, 11 Sep 2003 20:52:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261627AbTILAwB (ORCPT ); Thu, 11 Sep 2003 20:52:01 -0400 Received: from GOL139579-1.gw.connect.com.au ([203.63.118.157]:51939 "EHLO goldweb.com.au") by vger.kernel.org with ESMTP id S261618AbTILAvz (ORCPT ); Thu, 11 Sep 2003 20:51:55 -0400 Message-ID: <1063327887.3f61188f9947e@dubai.stillhq.com> Date: Fri, 12 Sep 2003 10:51:27 +1000 From: Michael Still To: torvalds@osdl.org Cc: linux-kernel@vger.kernel.org Subject: [2.6 PATCH] Squelch make mandocs warnings MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-MOQ1063327886d95e40b1c04418a9f1c7102f5ce72c97" User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 203.17.68.210 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9354 Lines: 151 This message is in MIME format. ---MOQ1063327886d95e40b1c04418a9f1c7102f5ce72c97 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hello. This patch removes the case sensitivity from a bunch of the regular expressions used to handle docbook tags within the mandocs scripts. It also tweaks the scripts to use the value of the $TMPDIR environment variable for the location of temporary files (if set). The default is to still use /tmp. The patch results in significantly fewer warnings being generated by a "make mandocs". It's part of an ongoing warning squelching effort. The patch can also be downloaded from http://www.stillhq.com/linux/patches/2.6.0-test4-bk5/mandocs_ignorecase, sample output at http://www.stillhq.com/linux/mandocs/2.6.0-test4-bk5/ although there should be no visible changes... Please apply. Thanks, Mikal PS: Oh, and Gordon says hello. -- Michael Still (mikal@stillhq.com) | "All my life I've had one dream, http://www.stillhq.com | to achieve my many goals" UTC + 10 | -- Homer Simpson ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ---MOQ1063327886d95e40b1c04418a9f1c7102f5ce72c97 Content-Type: application/octet-stream; name="mandocs_ignorecase" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mandocs_ignorecase" ZGlmZiAtTnVyIGxpbnV4LTIuNi4wLXRlc3Q0LWJrNS9zY3JpcHRzL21ha2VtYW4gbGludXgtMi42 LjAtdGVzdDQtYms1LW1hbmRvY3Mvc2NyaXB0cy9tYWtlbWFuCi0tLSBsaW51eC0yLjYuMC10ZXN0 NC1iazUvc2NyaXB0cy9tYWtlbWFuCTIwMDMtMDktMDQgMTA6NDM6MTUuMDAwMDAwMDAwICsxMDAw CisrKyBsaW51eC0yLjYuMC10ZXN0NC1iazUtbWFuZG9jcy9zY3JpcHRzL21ha2VtYW4JMjAwMy0w OS0wNSAxMDowNzoxNC4wMDAwMDAwMDAgKzEwMDAKQEAgLTEyLDcgKzEyLDcgQEAKICMjICAgICAg ICAgICAgICQzIC0tIHRoZSBmaWxlbmFtZSB3aGljaCBjb250YWluZWQgdGhlIHNnbWxkb2Mgb3V0 cHV0CiAjIyAgICAgICAgICAgICAgICAgICAgIChJIG5lZWQgdGhpcyBzbyBJIGtub3cgd2hpY2gg bWFucGFnZXMgdG8gY29udmVydCkKIAotbXkoJExJU1RJTkcsICRHRU5FUkFURUQsICRJTlBVVCwg JE9VVFBVVCwgJGZyb250LCAkbW9kZSwgJGZpbGVuYW1lKTsKK215KCRMSVNUSU5HLCAkR0VORVJB VEVELCAkSU5QVVQsICRPVVRQVVQsICRmcm9udCwgJG1vZGUsICRmaWxlbmFtZSwgJHRtcGRpcik7 CiAKIGlmKCRBUkdWWzBdIGVxICIiKXsKICAgZGllICJVc2FnZTogbWFrZW1hbiBbY29udmVydCB8 IGluc3RhbGxdIDxkaXI+IDxmaWxlPlxuIjsKQEAgLTIyLDYgKzIyLDEzIEBACiAgIGRpZSAiT3V0 cHV0IGRpcmVjdG9yeSBcIiRBUkdWWzFdXCIgZG9lcyBub3QgZXhpc3RcbiI7CiB9CiAKK2lmKCRF TlZ7IlRNUERJUiJ9IG5lICIiKXsKKyAgJHRtcGRpciA9ICRFTlZ7IlRNUERJUiJ9OworfQorZWxz ZXsKKyAgJHRtcGRpciA9ICIvdG1wIjsKK30KKwogaWYoJEFSR1ZbMF0gZXEgImNvbnZlcnQiKXsK ICAgb3BlbiBMSVNUSU5HLCAiZ3JlcCBcIjxyZWZlbnRyeXRpdGxlPlwiICRBUkdWWzJdIHwiOwog ICB3aGlsZSg8TElTVElORz4pewpAQCAtNDAsMjkgKzQ3LDM4IEBACiAgICAgb3BlbiBJTlBVVCwg IjwgJEFSR1ZbMV0vJGZpbGVuYW1lLnNnbWwiOwogICAgICRmcm9udCA9ICIiOwogICAgICRtb2Rl ID0gMDsKLSAgICB3aGlsZSg8SU5QVVQ+KXsKLSAgICAgIGlmKC8uKkVOREZST05UVEFHLiovKXsK LQkkbW9kZSA9IDA7Ci0gICAgICB9CiAKKyAgICAjIFRoZSBtb2RlcyB1c2VkIGhlcmUgYXJlOgor ICAgICMgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBtb2RlID0gMAorICAgICMgPCEtLSBCRUdJTkZST05UVEFHIC0tPgorICAgICMgPCEtLSA8 Ym9va2luZm8+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBtb2RlID0g MQorICAgICMgPCEtLSAgIDxsZWdhbG5vdGljZT4gICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICBtb2RlID0gMgorICAgICMgPCEtLSAgICAgLi4uR1BMIG9yIHdoYXRldmVyLi4uCisg ICAgIyA8IS0tICAgPC9sZWdhbG5vdGljZT4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIG1vZGUgPSA0CisgICAgIyA8IS0tIDwvYm9va2luZm8+ICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIG1vZGUgPSAzCisgICAgIyA8IS0tIEVOREZST05UVEFHIC0tPgor ICAgICMKKyAg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subscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/