Don’t compile oni-windows-nt.el on non-windows systems

This commit is contained in:
Tom Willemse 2018-07-19 23:22:22 -07:00
parent 55c0f1af40
commit 841801059f
3 changed files with 4 additions and 0 deletions

View file

@ -36,6 +36,7 @@
(format "%svendor-lisp/" load-directory) t "^[^.]"))
(add-to-list 'load-path (format "%ssite-lisp/" load-directory))
(add-to-list 'load-path (format "%sos-lisp/" load-directory))
(let ((loaddefs (format "%ssite-lisp/site-autoloads.el" load-directory)))
(when (file-exists-p loaddefs)

View file

@ -5,6 +5,9 @@ BASE_DIR := $(subst \,/,$(shell cygpath -w $(CURDIR)))
.PHONY: install
SITE_LISPS := $(SITE_LISPS) os-lisp/oni-windows-nt.el
COMPILED_SITE_LISPS := $(COMPILED_SITE_LISPS) os-lisp/oni-windows-nt.elc
ALL_LISPS := init.el init.elc $(SITE_LISPS) $(COMPILED_SITE_LISPS) \
$(INIT_LISPS) $(COMPILED_INIT_LISPS) $(AUTOLOADS_FILE)