parent
fa67c1189b
commit
744ff27882
@ -0,0 +1 @@
|
|||||||
|
debian/cmake-mode-pkg.el
|
@ -0,0 +1,2 @@
|
|||||||
|
debian/cmake-mode-pkg.el
|
||||||
|
Auxiliary/cmake-mode.el
|
@ -1 +0,0 @@
|
|||||||
0
|
|
@ -1,28 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# emacsen install script for the Debian GNU/Linux cmake package
|
|
||||||
|
|
||||||
FLAVOR=$1
|
|
||||||
PACKAGE=cmake-data
|
|
||||||
|
|
||||||
ELDIR=/usr/share/emacs/site-lisp/
|
|
||||||
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
|
||||||
ELFILE="cmake-mode.el"
|
|
||||||
FLAGS="-batch -no-site-file -l path.el -f batch-byte-compile"
|
|
||||||
|
|
||||||
if [ ${FLAVOR} != emacs ]; then
|
|
||||||
echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}
|
|
||||||
|
|
||||||
install -m 755 -d ${ELCDIR}
|
|
||||||
|
|
||||||
# Source file symlink (emacsen policy 5C)
|
|
||||||
ln -s "${ELDIR}/${ELFILE}" "${ELCDIR}/${ELFILE}"
|
|
||||||
|
|
||||||
# Compile cmake-mode.el
|
|
||||||
cd ${ELCDIR}
|
|
||||||
cat << EOF > path.el
|
|
||||||
(setq load-path (cons "." load-path) byte-compile-warnings nil)
|
|
||||||
EOF
|
|
||||||
${FLAVOR} ${FLAGS} ${ELFILE}
|
|
||||||
rm -f path.el
|
|
||||||
fi
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
FLAVOR=$1
|
|
||||||
PACKAGE=cmake-data
|
|
||||||
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
|
|
||||||
|
|
||||||
if [ ${FLAVOR} != emacs ]; then
|
|
||||||
echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
|
|
||||||
rm -rf "${ELCDIR}"
|
|
||||||
fi
|
|
@ -1,15 +0,0 @@
|
|||||||
;; -*-emacs-lisp-*-
|
|
||||||
;;
|
|
||||||
;; Emacs startup file for the Debian GNU/Linux cmake package
|
|
||||||
|
|
||||||
(if (file-exists-p "/usr/share/emacs/site-lisp/cmake-mode.el")
|
|
||||||
(progn
|
|
||||||
(debian-pkg-add-load-path-item (concat "/usr/share/"
|
|
||||||
(symbol-name debian-emacs-flavor)
|
|
||||||
"/site-lisp/cmake-data"))
|
|
||||||
(autoload 'cmake-mode "cmake-mode")
|
|
||||||
(setq auto-mode-alist
|
|
||||||
(append '(("CMakeLists\\.txt\\'" . cmake-mode)
|
|
||||||
("\\.cmake\\'" . cmake-mode))
|
|
||||||
auto-mode-alist)))
|
|
||||||
(message "cmake-data removed but not purged, skipping setup"))
|
|
@ -0,0 +1 @@
|
|||||||
|
rm_conffile /etc/emacs/site-start.d/50cmake-data.el 3.21.2-2~
|
@ -0,0 +1,4 @@
|
|||||||
|
;;; -*- no-byte-compile: t -*-
|
||||||
|
(define-package "cmake-mode" "@VERSION@" "major-mode for editing CMake sources"
|
||||||
|
'((emacs "24.1"))
|
||||||
|
)
|
@ -1,3 +1,5 @@
|
|||||||
usr/share/doc/cmake/cmcompress/Copyright.txt
|
usr/share/doc/cmake/cmcompress/Copyright.txt
|
||||||
usr/share/doc/cmake-data/Copyright.txt
|
usr/share/doc/cmake-data/Copyright.txt
|
||||||
usr/share/doc/cmake-data/cmsys/Copyright.txt
|
usr/share/doc/cmake-data/cmsys/Copyright.txt
|
||||||
|
usr/share/doc/cmake-data/cmsys/Copyright.txt
|
||||||
|
usr/share/emacs/site-lisp/cmake-mode.el
|
||||||
|
Loading…
Reference in new issue