summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/Makefile.am11
-rw-r--r--emacs/skribe.el8
-rw-r--r--emacs/skribe.el.in8
3 files changed, 18 insertions, 9 deletions
diff --git a/emacs/Makefile.am b/emacs/Makefile.am
index d3cdcf2..85084df 100644
--- a/emacs/Makefile.am
+++ b/emacs/Makefile.am
@@ -1 +1,10 @@
-dist_lisp_DATA = skribe.el
+EXTRA_DIST = skribe.el.in
+lisp_DATA = skribe.el
+
+CLEANFILES = $(lisp_DATA)
+
+include $(top_srcdir)/substitute.am
+
+.in:
+ $(substitute) "$^" > "$@.tmp" && \
+ mv "$@.tmp" "$@"
diff --git a/emacs/skribe.el b/emacs/skribe.el
index 6c4563a..23e0e40 100644
--- a/emacs/skribe.el
+++ b/emacs/skribe.el
@@ -25,7 +25,7 @@
;* custom */
;*---------------------------------------------------------------------*/
;; skribe version
-(defconst skribe-version "1.2d"
+(defconst skribe-version "0.9.0"
"*The Skribe version.")
;; skribe group
@@ -36,19 +36,19 @@
:group 'processes)
;; emacs directory
-(defcustom skribe-emacs-dir '"/users/serrano/emacs/site-lisp/bigloo"
+(defcustom skribe-emacs-dir '"/usr/local/share/emacs/site-lisp"
"*Directory for Skribe Emacs installation."
:group 'skribe
:type '(string))
;; additional directories for online documentation
-(defcustom skribe-docdirs '("/usr/local/doc/skribe-1.2d")
+(defcustom skribe-docdirs '("/usr/local/share/doc/skribilo")
"*Directories for online documentation."
:group 'skribe
:type '(repeat (string)))
;; Host scheme documentation
-(defcustom skribe-host-scheme-docdirs '("/users/serrano/prgm/project/bigloo/manuals")
+(defcustom skribe-host-scheme-docdirs '("http://www.gnu.org/software/guile/")
"*URL for hosting Scheme system."
:group 'skribe
:type '(string))
diff --git a/emacs/skribe.el.in b/emacs/skribe.el.in
index 1b1ae4f..e324f0d 100644
--- a/emacs/skribe.el.in
+++ b/emacs/skribe.el.in
@@ -25,7 +25,7 @@
;* custom */
;*---------------------------------------------------------------------*/
;; skribe version
-(defconst skribe-version "@SKRIBE_RELEASE@"
+(defconst skribe-version "@PACKAGE_VERSION@"
"*The Skribe version.")
;; skribe group
@@ -36,19 +36,19 @@
:group 'processes)
;; emacs directory
-(defcustom skribe-emacs-dir '"@SKRIBE_EMACSDIR@"
+(defcustom skribe-emacs-dir '"@lispdir@"
"*Directory for Skribe Emacs installation."
:group 'skribe
:type '(string))
;; additional directories for online documentation
-(defcustom skribe-docdirs '("@SKRIBE_DOCDIR@")
+(defcustom skribe-docdirs '("@docdir@")
"*Directories for online documentation."
:group 'skribe
:type '(repeat (string)))
;; Host scheme documentation
-(defcustom skribe-host-scheme-docdirs '("@SKRIBE_HOSTSCHEMEDOCDIR@")
+(defcustom skribe-host-scheme-docdirs '("http://www.gnu.org/software/guile/")
"*URL for hosting Scheme system."
:group 'skribe
:type '(string))