Remove windows.mk

This commit is contained in:
Tom Willemse 2019-04-03 00:00:34 -07:00
parent c923913e56
commit ce757bdc6e
2 changed files with 0 additions and 26 deletions

View file

@ -31,7 +31,3 @@ COMPILED_SNIPPETS = $(addsuffix /.yas-compiled-snippets.el, $(SNIPPET_DIRS))
-eval "(yas-compile-directory \"$(BASE_DIR)/snippets\")"
snippets: $(COMPILED_SNIPPETS)
ifeq ($(OS),Windows_NT)
include windows.mk
endif

View file

@ -1,22 +0,0 @@
EMACS := C:/msys64/mingw64/bin/emacs.exe
HOME := $(APPDATA)
INSTALLDIR := $(APPDATA)/.emacs.d
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) \
$(AUTOLOADS_FILE)
install:
for file in $(ALL_LISPS); do \
[[ -e $$file ]] && install -Dm 644 $$file "$(INSTALLDIR)/$$file"; \
done
mkdir -p "$(INSTALLDIR)/vendor-lisp/"
for dir in $(VENDOR_DIRS); do \
cp --recursive $$dir "$(INSTALLDIR)/$$dir"; \
done