瀏覽代碼

Use private home by default

pull/5/head
10sr 10 年之前
父節點
當前提交
e7c2954975
共有 1 個檔案被更改,包括 12 行新增2 行删除
  1. +12
    -2
      Makefile

+ 12
- 2
Makefile 查看文件

@@ -3,8 +3,6 @@


# Variable definitions # Variable definitions


home ?= $(HOME)

dotfiles_url_base := https://raw.githubusercontent.com/10sr/dotfiles/master dotfiles_url_base := https://raw.githubusercontent.com/10sr/dotfiles/master
use_git ?= t use_git ?= t
git_auth ?= t git_auth ?= t
@@ -46,6 +44,18 @@ endif
$(warning dotfiles_dir: $(dotfiles_dir)) $(warning dotfiles_dir: $(dotfiles_dir))




ifeq ($(home),)
ifeq ($(global_home),)
$(warning home not set and global_home is empty)
# TODO: What this should be?
home := $(dotfiles_dir)/.home
else
home := $(HOME)
endif
endif
$(warning home: $(home))


localdir := $(home)/.local localdir := $(home)/.local
vardir := $(home)/.var vardir := $(home)/.var
bindir := $(localdir)/bin bindir := $(localdir)/bin


Loading…
取消
儲存