aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--debian/sisu.emacsen-startup9
-rw-r--r--debian/sisu.install37
2 files changed, 29 insertions, 17 deletions
diff --git a/debian/sisu.emacsen-startup b/debian/sisu.emacsen-startup
new file mode 100644
index 00000000..e598e666
--- /dev/null
+++ b/debian/sisu.emacsen-startup
@@ -0,0 +1,9 @@
+;;; 50sisu.el -- debian emacs setups for sisu
+
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/sisu-mode.el"))
+ (message "sisu removed but not purged, skipping setup")
+
+ (autoload 'sisu-mode "sisu-mode" "Major mode for editing SiSU files." t)
+ (add-to-list 'auto-mode-alist '("\\.sst\\'" . sisu-mode))
+ (add-to-list 'auto-mode-alist '("\\.ssm\\'" . sisu-mode))
+ (add-to-list 'auto-mode-alist '("\\.ssi\\'" . sisu-mode)))
diff --git a/debian/sisu.install b/debian/sisu.install
index 8cd2d5da..63ffc014 100644
--- a/debian/sisu.install
+++ b/debian/sisu.install
@@ -1,19 +1,22 @@
-bin/sisu usr/bin
-bin/sisu-concordance usr/bin
-bin/sisu-epub usr/bin
-bin/sisu-harvest usr/bin
-bin/sisu-html* usr/bin
-bin/sisu-odf usr/bin
-bin/sisu-txt usr/bin
-bin/sisu-webrick usr/bin
-lib/sisu* usr/lib/ruby/vendor_ruby
-conf/sisu etc
-data/sisu usr/share
-data/doc/sisu usr/share/doc
+bin/sisu usr/bin
+bin/sisu-concordance usr/bin
+bin/sisu-epub usr/bin
+bin/sisu-harvest usr/bin
+bin/sisu-html* usr/bin
+bin/sisu-odf usr/bin
+bin/sisu-txt usr/bin
+bin/sisu-webrick usr/bin
+lib/sisu* usr/lib/ruby/vendor_ruby
+conf/sisu etc
+data/sisu usr/share
+data/doc/sisu usr/share/doc
# depreciated remove once vim-addon-manager is in place
-data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim usr/share/vim/addons/ftplugin
-data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim usr/share/vim/addons/syntax
+data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim usr/share/vim/addons/ftplugin
+data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim usr/share/vim/addons/syntax
# migrate to use vim-addon-manager
-data/sisu/conf/editor-syntax-etc/vim/vim-sisu.yaml usr/share/vim/registry
-data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim usr/share/vim-scripts/ftplugin
-data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim usr/share/vim-scripts/syntax
+data/sisu/conf/editor-syntax-etc/vim/vim-sisu.yaml usr/share/vim/registry
+data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim usr/share/vim-scripts/ftplugin
+data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim usr/share/vim-scripts/syntax
+# emacs
+data/sisu/conf/editor-syntax-etc/emacs/sisu-mode.el usr/share/emacs/site-lisp/sisu
+data/sisu/conf/editor-syntax-etc/emacs/sisu-mode-autoloads.el usr/share/emacs/site-lisp/sisu