From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7918 invoked by alias); 6 Feb 2015 03:40:08 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7895 invoked by uid 89); 6 Feb 2015 03:40:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 06 Feb 2015 03:40:06 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t163e58u010182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Feb 2015 22:40:05 -0500 Received: from c64.redhat.com (vpn-231-50.phx2.redhat.com [10.3.231.50]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t163e3xB000665; Thu, 5 Feb 2015 22:40:04 -0500 From: David Malcolm To: jit@gcc.gnu.org, gcc-patches@gcc.gnu.org Cc: Gerald Pfeifer , Jeff Law , David Malcolm Subject: [PATCH] maintainer-scripts: Fix 404s in "Show Source" in jit docs Date: Fri, 06 Feb 2015 03:40:00 -0000 Message-Id: <1423194586-39286-1-git-send-email-dmalcolm@redhat.com> In-Reply-To: <1423088766.29180.129.camel@surprise> References: <1423088766.29180.129.camel@surprise> X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00372.txt.bz2 Tested locally with a suitably hacked up script to work on this machine; with this patch the "Show Sources" links work within the files installed to /www/gcc/htdocs. OK for trunk? maintainer-scripts/ChangeLog: * update_web_docs_svn: When copying up files for the built jit documentation, also copy up .txt files. --- maintainer-scripts/update_web_docs_svn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/maintainer-scripts/update_web_docs_svn b/maintainer-scripts/update_web_docs_svn index 2544211..7832eed 100755 --- a/maintainer-scripts/update_web_docs_svn +++ b/maintainer-scripts/update_web_docs_svn @@ -233,10 +233,12 @@ done # Again, the jit is a special case, with nested subdirectories # below "jit", and with some non-HTML files (.png images from us, -# plus .css and .js supplied by sphinx). +# plus .css and .js supplied by sphinx, and source files, renamed +# from .rst to .txt). find jit \ -name "*.html" -o -name "*.png" \ - -o -name "*.css" -o -name "*.js" | + -o -name "*.css" -o -name "*.js" \ + -o -name "*.txt" | while read file ; do # Note that $file here will contain path fragments beginning # with "jit/", e.g. "jit/cp/topics/functions.html" -- 1.8.5.3