Commit c75b4cfe authored by Roland Levillain's avatar Roland Levillain
Browse files

Scribo: Improve scribo-cli's `--version' option.

	* src/scribo-cli.in: Move the shebang to the first line.
	(version): Do not hard-code the version number
	in scribo-cli.
	Rephrase the copyright owner for uniformity reasons.
	* src/Makefile.am (do_subst): Also substitute PACKAGE_VERSION.
parent 7b885b89
2014-03-31 Roland Levillain <roland@lrde.epita.fr>
Scribo: Improve scribo-cli's `--version' option.
* src/scribo-cli.in: Move the shebang to the first line.
(version): Do not hard-code the version number
in scribo-cli.
Rephrase the copyright owner for uniformity reasons.
* src/Makefile.am (do_subst): Also substitute PACKAGE_VERSION.
2013-09-13 Roland Levillain <roland@lrde.epita.fr>
Scribo: Define flags in proper Makefile helpers.
......
......@@ -155,7 +155,8 @@ endif HAVE_MAGICKXX
# Generated by configure from scribo-cli.in.
dist_bin_SCRIPTS = scribo-cli
do_subst = sed -e 's|@utilexecdir[@]|$(utilexecdir)|g'
do_subst = sed -e 's|@utilexecdir[@]|$(utilexecdir)|g' \
-e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g'
scribo-cli: $(srcdir)/scribo-cli.in Makefile
rm -f $@ $@.tmp
......
# Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE).
#! /bin/sh
# Copyright (C) 2010, 2014 EPITA Research and Development Laboratory (LRDE).
#
# This file is part of Olena.
#
......@@ -13,17 +15,16 @@
#
# You should have received a copy of the GNU General Public License
# along with Olena. If not, see <http://www.gnu.org/licenses/>.
#
#!/bin/sh
bdir="@utilexecdir@"
bin=`basename $0`
version="@PACKAGE_VERSION@"
version()
{
cat <<EOF
SCRIBO Command LIne tool, version 1.0
Copyright (C) 2010 LRDE/EPITA
Olena Scribo Module Command-Line Interface (CLI) tool, version $version
Copyright (C) 2010, 2014 EPITA Research and Development Laboratory (LRDE)
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
EOF
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment