Changeset fe765cd0


Ignore:
Timestamp:
12/30/2023 09:20:54 PM (5 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
0ab9e79
Parents:
8097885
git-author:
Xi Ruoyao <xry111@…> (12/30/2023 04:55:28 PM)
git-committer:
Xi Ruoyao <xry111@…> (12/30/2023 09:20:54 PM)
Message:

vim: Make runtime update command nodump

Well, we generally do not like an update of "a part of the package",
esp. in this case we are doing an unversioned update. This makes the
book unstable, i.e. if a user executes this command a month after the
release of the book (s)he may get different results. And I don't think
it's a good idea to make vim &build-use-internet;.

And when we update vim to a new version (from 9.0.2103 to 9.0.2189 for
example), "make install" would already update the runtime files to
9.0.2189.

So just make the runtime update command nodump and move rsync to
optional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/editors/vim.xml

    r8097885 rfe765cd0  
    9292    <bridgehead renderas="sect4">Recommended</bridgehead>
    9393    <para role="recommended">
    94       <xref linkend="x-window-system"/>,
    95       <xref linkend="gtk3"/>, and
    96       <xref linkend="rsync"/>
     94      <xref linkend="x-window-system"/> and
     95      <xref linkend="gtk3"/>
    9796    </para>
    9897
     
    10099    <para role="optional">
    101100      <xref linkend="gpm"/>,
    102       <xref linkend="lua"/>, and
    103       <xref linkend="ruby"/>
     101      <xref linkend="lua"/>,
     102      <xref linkend="ruby"/>, and
     103      <xref linkend="rsync"/>
    104104    </para>
    105105
     
    205205
    206206    <para>
    207       If you wish to update the runtime files, issue the
    208       following command (requires <xref linkend="rsync"/>):
    209     </para>
    210 
    211 <screen><userinput>rsync -avzcP --exclude="/dos/" --exclude="/spell/" \
     207      <emphasis role='bold'>If</emphasis> you wish to update the runtime
     208      files, issue the following command (requires <xref linkend="rsync"/>)
     209      to download it:
     210    </para>
     211
     212<screen role='nodump'><userinput>rsync -avzcP --exclude="/dos/" --exclude="/spell/" \
    212213    ftp.nluug.nl::Vim/runtime/ ./runtime/</userinput></screen>
    213214
    214215    <para>
    215       To install the runtime files and regenerate the
     216      And then install the updated runtime files and regenerate the
    216217      <filename>tags</filename> file, as the
    217218      <systemitem class="username">root</systemitem> user issue:
    218219    </para>
    219220
    220 <screen role="root"><userinput>make -C src installruntime &amp;&amp;
     221    <!-- already executed by "make install" if not updating the runtime
     222         files -->
     223<screen role="nodump"><userinput>make -C src installruntime &amp;&amp;
    221224vim -c ":helptags /usr/share/doc/vim-&vim-version;" -c ":q"</userinput></screen>
    222225
Note: See TracChangeset for help on using the changeset viewer.