aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-12-15 00:07:07 -0500
committerRalph Amissah <ralph@amissah.com>2015-12-15 00:07:07 -0500
commitb5538310dabc893ee54c3a2be4b0fec7ce968511 (patch)
tree2eef6393f84b27ce6bd04899020912b07ba20b7d /debian
parentMerge tag 'sisu_7.1.6' into debian/sid (diff)
debian/sisu.install debian/sisu.emacsen-startup emacs related tinkering
* debian/sisu.install emacs files sisu-mode.el sisu-mode-autoloads.el * debian/sisu.emacsen-startup used by dh_installemacsen * see debian bug #807793, Kevin Ryde
Diffstat (limited to 'debian')
-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