mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 14:12:41 +00:00
wip
This commit is contained in:
18
dots/Makefile
Normal file
18
dots/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
PREFIX ?= $(HOME)/.local
|
||||
BINDIR = $(PREFIX)/bin
|
||||
COMPLETIONDIR = $(PREFIX)/completions
|
||||
LIBDIR = $(PREFIX)/lib
|
||||
|
||||
build:
|
||||
swiftc ./scripts/build.swift
|
||||
./build
|
||||
rm ./build
|
||||
|
||||
install: build
|
||||
install -d "$(BINDIR)" "$(LIBDIR)"
|
||||
install ./.build/release/dots "$(BINDIR)"
|
||||
|
||||
uninstall:
|
||||
rm "$(BINDIR)/dots"
|
||||
rm "$(COMPLETIONDIR)/_dots"
|
||||
|
||||
Reference in New Issue
Block a user