/usr/share/emacs/site-lisp/lsdb/LSDB-MK is in lsdb 0.11-10.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | ;;; -*-Emacs-Lisp-*-
;; LSDB-MK: installer for LSDB.
;;; Code:
(defun config-lsdb ()
(let (prefix lisp-dir)
(and (setq prefix (car command-line-args-left))
(or (string-equal "NONE" prefix)
(defvar PREFIX prefix)))
(setq command-line-args-left (cdr command-line-args-left))
(and (setq lisp-dir (car command-line-args-left))
(or (string-equal "NONE" lisp-dir)
(defvar LISPDIR lisp-dir)))
(setq command-line-args-left (cdr command-line-args-left))
(load-file "LSDB-CFG")
(load-file "LSDB-ELS")
(princ (format "PREFIX=%s
LISPDIR=%s\n" PREFIX LISPDIR))))
(defun compile-lsdb ()
(config-lsdb)
(compile-elisp-modules lsdb-modules "."))
(defun install-lsdb ()
(config-lsdb)
(install-elisp-modules lsdb-modules "./" LSDB_DIR))
(defun config-lsdb-package ()
(let (package-dir)
(and (setq package-dir (car command-line-args-left))
(or (string= "NONE" package-dir)
(defvar PACKAGEDIR package-dir)))
(setq command-line-args-left (cdr command-line-args-left))
(load-file "LSDB-CFG")
(load-file "LSDB-ELS")
(princ (format "PACKAGEDIR=%s\n" PACKAGEDIR))))
(defun compile-lsdb-package ()
(config-lsdb-package)
(setq autoload-package-name "lsdb")
(add-to-list 'command-line-args-left ".")
(batch-update-directory)
(add-to-list 'command-line-args-left ".")
(Custom-make-dependencies)
(compile-elisp-modules (append lsdb-modules-to-compile
'(auto-autoloads custom-load))
"."))
(defun install-lsdb-package ()
(config-lsdb-package)
(install-elisp-modules (append lsdb-modules
'(auto-autoloads custom-load))
"./"
(expand-file-name LSDB_PREFIX
(expand-file-name "lisp"
PACKAGEDIR)))
(if (file-exists-p "./auto-autoloads.el")
(delete-file "./auto-autoloads.el"))
(if (file-exists-p "./custom-load.el")
(delete-file "./custom-load.el")))
;;; LSDB-MK ends here
|