From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7919 invoked by alias); 6 Feb 2015 03:40:08 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-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-Checked: by ClamAV 0.98.5 on sourceware.org 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-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-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com 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: Thu, 01 Jan 2015 00:00: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-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-SW-Source: 2015-q1/txt/msg00065.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