automatically generate version info from git HEAD

This commit is contained in:
Xi Ruoyao
2021-04-07 01:01:01 +08:00
parent 275f313442
commit 5948380997
5 changed files with 67 additions and 8 deletions

View File

@@ -1,16 +1,25 @@
<!ENTITY version "SVN-20210326">
<!-- version info automatically generated by git
comment the following two lines for release -->
<!ENTITY % version-entities SYSTEM "version.ent">
%version-entities;
<!-- uncomment and edit the following four lines
for releases (including -rc) -->
<!--
<!ENTITY version "10.2-rc1">
<!ENTITY versiond "10.2-rc1">
<!ENTITY releasedate "August 26th, 2021">
<!ENTITY copyrightdate "1999-2021">
-->
<!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
<!ENTITY versiond "20210326-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
<!ENTITY releasedate "March 26th, 2021">
<!ENTITY copyrightdate "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY lfs-root "http://www.linuxfromscratch.org/">
<!ENTITY blfs-root "&lfs-root;blfs/">
<!ENTITY blfs-book "&blfs-root;view/&short-version;/">