aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--doc/developer-guide.txt7
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 914da72..2768936 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-07 Ulrich Müller <ulm@gentoo.org>
+
+ * doc/developer-guide.txt: Remove subversion keywords and don't
+ use svn_date_to_version function in example module.
+
2012-02-18 Ulrich Müller <ulm@gentoo.org>
* modules/modules.eselect (DESCRIPTION, MAINTAINER): Move behind
diff --git a/doc/developer-guide.txt b/doc/developer-guide.txt
index 27e671b..6ddc212 100644
--- a/doc/developer-guide.txt
+++ b/doc/developer-guide.txt
@@ -36,12 +36,10 @@ actions, and is installed to ``$(datadir)/eselect/modules/`` ::
# -*-eselect-*- vim: ft=eselect
# Copyright 2005-2012 Gentoo Foundation
# Distributed under the terms of the GNU GPL version 2 or later
- # $Id: $
DESCRIPTION="Manage the /usr/src/linux symlink"
MAINTAINER="eselect@gentoo.org"
- SVN_DATE='$Date: $'
- VERSION=$(svn_date_to_version "${SVN_DATE}")
+ VERSION="20120307"
# find a list of kernel symlink targets
find_targets() {
@@ -420,7 +418,8 @@ These are implemented in ``libs/manip.bash``.
The ``svn_date_to_version`` Function
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-The ``svn_date_to_version`` function can be used instead of manually
+If your module is kept in a CVS or subversion repository, then the
+``svn_date_to_version`` function can be used instead of manually
keeping track of ``VERSION``. It is safe to use in global scope.
The canonical usage is as follows: ::