ui: Display version information.

* haunt/config.scm: Delete.
* haunt/config.scm.in: New file.
* haunt/ui.scm (show-version-and-exit): New procedure.
  (program-name): Change default value.
  (haunt-main): Add version option.
* haunt/ui/serve.scm (haunt-serve): Likewise.
* configure.ac (AC_CONFIG_FILES): Add 'haunt/config.scm'.
* .gitignore: Ignore 'haunt/config.scm'.
This commit is contained in:
David Thompson
2015-01-04 22:47:05 -05:00
parent f299cca709
commit 2a878fd9ee
5 changed files with 25 additions and 4 deletions

1
.gitignore vendored
View File

@@ -10,3 +10,4 @@
*.go
*~
.#*
/haunt/config.scm