aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-03-07 22:40:13 (GMT)
committerUlrich Müller <ulm@gentoo.org>2012-03-07 22:40:13 (GMT)
commite9d5d904ca80cd73a9ca849d5b65c785bf7e26e8 (patch)
tree2dc268166242aeae0ac392a292eb55980fb6bbe1
parentRemove SVN keywords throughout. (diff)
downloadeselect-e9d5d904ca80cd73a9ca849d5b65c785bf7e26e8.zip
eselect-e9d5d904ca80cd73a9ca849d5b65c785bf7e26e8.tar.gz
eselect-e9d5d904ca80cd73a9ca849d5b65c785bf7e26e8.tar.bz2
Update example module in doc/developer-guide.txt.
* doc/developer-guide.txt: Remove subversion keywords and don't use svn_date_to_version function in example module.
-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: ::