aboutsummaryrefslogtreecommitdiffstats
path: root/general.ent
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-04-07 01:01:01 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-04-07 01:01:01 +0800
commit594838099780fe0b9e7301143468fbfc6157f4c9 (patch)
tree9a63628aec29cf15b21aa1413dea828dcc5b5562 /general.ent
parent275f313442348c7932fd2c0656ca871c5eb7374e (diff)
automatically generate version info from git HEAD
Diffstat (limited to 'general.ent')
-rw-r--r--general.ent21
1 files changed, 15 insertions, 6 deletions
diff --git a/general.ent b/general.ent
index 0db8fe99b..90443c9b5 100644
--- a/general.ent
+++ b/general.ent
@@ -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;/">