Changeset 59483809


Ignore:
Timestamp:
04/06/2021 05:01:01 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, ml-11.0, multilib, trunk, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
Children:
7e80757
Parents:
275f313
Message:

automatically generate version info from git HEAD

Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • .gitignore

    r275f313 r59483809  
    11lfs-bootscripts-*.tar.xz
     2version.ent
  • Makefile

    r275f313 r59483809  
    120120        $(Q)rm -f $(RENDERTMP)/*pdf.fo
    121121
    122 validate: tmpdir
     122validate: tmpdir version
    123123        @echo "Processing bootscripts..."
    124124        $(Q)bash process-scripts.sh
     
    188188       $(BASEDIR)/md5sums
    189189
     190version:
     191        $(Q)./git-version.sh
     192
    190193#dump-commands: validate
    191194#       @echo "Dumping book commands..."
     
    205208all: book nochunks pdf # dump-commands
    206209
    207 .PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list
    208 
     210.PHONY : all book dump-commands nochunks pdf profile-html tmpdir validate md5sums wget-list version
     211
  • chapter01/changelog.xml

    r275f313 r59483809  
    4343    appropriate for the entry or if needed the entire day's listitem.
    4444    -->
     45
    4546    <listitem>
    4647      <para>2021-03-26</para>
  • general.ent

    r275f313 r59483809  
    1 <!ENTITY version         "SVN-20210326">
     1<!-- version info automatically generated by git
     2     comment the following two lines for release -->
     3<!ENTITY % version-entities SYSTEM "version.ent">
     4%version-entities;
     5
     6<!-- uncomment and edit the following four lines
     7     for releases (including -rc) -->
     8<!--
     9<!ENTITY version         "10.2-rc1">
     10<!ENTITY versiond        "10.2-rc1">
     11<!ENTITY releasedate     "August 26th, 2021">
     12<!ENTITY copyrightdate   "1999-2021">
     13-->
     14<!-- jhalfs needs a literal dash, not &ndash; -->
     15
    216<!ENTITY short-version   "svn">  <!-- Used below in &blfs-book;
    317                                      Change to x.y for release but not -rc releases -->
    418<!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
    519
    6 <!ENTITY versiond        "20210326-systemd">
    720<!ENTITY short-versiond  "systemd">
    821<!ENTITY generic-versiond "systemd">
    9 
    10 <!ENTITY releasedate     "March 26th, 2021">
    11 
    12 <!ENTITY copyrightdate   "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->
    1322
    1423<!ENTITY lfs-root        "http://www.linuxfromscratch.org/">
Note: See TracChangeset for help on using the changeset viewer.