summaryrefslogtreecommitdiff
path: root/share/rcm.sh.in
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2013-07-31 18:16:01 -0400
committerGravatar Mike Burns <mike@mike-burns.com>2013-08-01 15:05:19 -0400
commitaacff1b269a39c967f84ab33b68f827febee8891 (patch)
tree3965aecfe4602e48264df778e5037aa8090cb674 /share/rcm.sh.in
parentbc1364d1a195572bf470c81352c01bc8dfec6880 (diff)
Add a release target
The `make release` command will build the Debian package, push the version to a git tag on GitHub, and upload the docs to GitHub pages. This also adds a `deb` target, along with `build-docs`, `upload-docs`, `build-tag`, and `push-tag`. In addition, introduce a `NEWS.md` file. Both `rcm.sh.in` and `NEWS.md.in` will act as input files. This is to abstract over the version number.
Diffstat (limited to 'share/rcm.sh.in')
-rw-r--r--share/rcm.sh.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/rcm.sh.in b/share/rcm.sh.in
new file mode 100644
index 0000000..44131ec
--- /dev/null
+++ b/share/rcm.sh.in
@@ -0,0 +1,11 @@
+VERSION="@PACKAGE_VERSION@"
+
+version() {
+ cat << EOV
+$1 (rcm) $VERSION
+Copyright (C) 2013 Mike Burns
+License BSD: BSD 3-clause license
+
+Written by Mike Burns.
+EOV
+}