summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno2010-12-06 03:17:26 -0200
committerIsmael Luceno2010-12-06 03:17:26 -0200
commitd9ec2e4154d89243d2550016f9f936a54fa93f5a (patch)
treed710c8315ba490dbfd1cf2f9f4c4c757df605d43
parent39ed195f89f1b45690ab899a7ae7692a9588f133 (diff)
yasnippet: fix snippets installation
-rw-r--r--emacs-lisp/yasnippet/HISTORY3
-rwxr-xr-xemacs-lisp/yasnippet/INSTALL3
2 files changed, 5 insertions, 1 deletions
diff --git a/emacs-lisp/yasnippet/HISTORY b/emacs-lisp/yasnippet/HISTORY
index f30db8f2d1..cfe9111ca1 100644
--- a/emacs-lisp/yasnippet/HISTORY
+++ b/emacs-lisp/yasnippet/HISTORY
@@ -1,5 +1,6 @@
2010-12-06 Ismael Luceno <ismael@sourcemage.org>
- * BUILD, INSTALL: removed, already provided by the emacs-lisp section
+ * BUILD: removed, already provided by the emacs-lisp section
+ * INSTALL: install snippets
2010-11-30 Ismael Luceno <ismael@sourcemage.org>
* BUILD, DEPENDS, DETAILS, INSTALL: spell created
diff --git a/emacs-lisp/yasnippet/INSTALL b/emacs-lisp/yasnippet/INSTALL
new file mode 100755
index 0000000000..81561ed1b5
--- /dev/null
+++ b/emacs-lisp/yasnippet/INSTALL
@@ -0,0 +1,3 @@
+default_install &&
+cp -vr "$SOURCE_DIRECTORY/snippets" \
+ "$INSTALL_ROOT/usr/share/emacs/site-lisp/$SPELL"