AUTHOR_VERSION = 1.14.9
flim/Makefileを見ると`-l FLIM-MK -f compile-flim-package NONE'でバイトコンパイルしているみたいなので
PRELOADS = -eval '(setq load-path (append (list "./flim") load-path))' -l \ FLIM-MK -f compile-flim-package NONE \#とする.最後に `\#' を入れているのは XEmacs.rules で付けるオプショ ンを消すため.
また,パッケージディレクトリ(~/work/packages/xemacs-packages/flim) から make するため,参照するパスを全てパッケージディレクトリからの 相対パスに変更.
--- FLIM-MK.org 2006-12-12 17:21:00.000000000 +0900 +++ FLIM-MK 2016-10-22 10:23:46.000000000 +0900 @@ -60,8 +60,8 @@ (or (string= "NONE" package-dir) (defvar PACKAGEDIR package-dir))) (setq command-line-args-left (cdr command-line-args-left)) - (load-file "FLIM-CFG") - (load-file "FLIM-ELS") + (load-file "./flim/FLIM-CFG") + (load-file "./flim/FLIM-ELS") (setq flim-modules (append flim-modules '(auto-autoloads custom-load))) (princ (format "PACKAGEDIR=%s\n" PACKAGEDIR)))) @@ -72,18 +72,18 @@ (if (fboundp 'batch-update-directory-autoloads) ;; XEmacs 21.5.19 and newer. (progn - (add-to-list 'command-line-args-left ".") + (add-to-list 'command-line-args-left "./flim") (add-to-list 'command-line-args-left "flim") (batch-update-directory-autoloads)) (setq autoload-package-name "flim") - (add-to-list 'command-line-args-left ".") + (add-to-list 'command-line-args-left "./flim") (batch-update-directory)) - (add-to-list 'command-line-args-left ".") + (add-to-list 'command-line-args-left "./flim") (Custom-make-dependencies) - (compile-elisp-modules flim-version-specific-modules ".") - (compile-elisp-modules flim-modules ".")) + (compile-elisp-modules flim-version-specific-modules "./flim") + (compile-elisp-modules flim-modules "./flim")) (defun install-flim-package () (config-flim-package)