loading version.el in installer done

This commit is contained in:
Sameer Rahmani 2011-12-05 22:06:03 +03:30
parent 3d030b6908
commit b47e5a4ee0
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,3 @@
#! /bin/sh
emacs -q -l ~/.kuso $1
emacs --title KusoIDE -q -l ~/.kuso $1

View File

@ -1,9 +1,9 @@
#! /bin/bash
VERSION="0.12.0"
VERSION=$(emacs -l src/lib/version.el --eval "(princ (get_version))" --batch -Q)
# Gathering informations
echo -e "\n\tKuso IDE v$VERSION copyright 2010-2011 Sameer Rahmani <lxsameer@gnu.org>\n\n"
echo -e "\n\tKuso IDE $VERSION copyright 2010-2011 Sameer Rahmani <lxsameer@gnu.org>\n\n"
echo "Enter requested informations. You can change it later in top"
echo -e "level customization.\n\n"
condition="1"

View File

@ -15,7 +15,7 @@
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(defvar aboutkusoidemsg "
Kuso IDE v%%VERSION%% Copyright © 2010-2011 Sameer Rahmani <lxsameer@gnu.org>
Kuso IDE %%VERSION%% Copyright © 2010-2011 Sameer Rahmani <lxsameer@gnu.org>
Kuso IDE release under the term of GPLv2.
Home page:

View File

@ -14,5 +14,14 @@
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
(defvar KUSO-VERSION "0.13.0"
"KusoIDE version string")
(defvar KUSO-VERSION "v0.13.0"
"KusoIDE version string")
(defun get_version ()
"Return the Version number, to use in shell script"
(let (version)
(setq version KUSO-VERSION)
)
)