aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile11
-rw-r--r--debian/control1
2 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7e00cd4..c3acfee 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,10 @@
+mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
+cur_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
+
+repo_dir := $(dir $(mkfile_path))
+bin_dir := $(repo_dir)bin
+bin_file_name := 10-$(cur_dir)
+
all:
- # Combine files with public dotfiles
- stow --verbose --no-folding --target=$$HOME .
+ $(bin_dir)/pycombine -e '(Makefile|bin|README.md|debian)' "$(HOME)" "$(repo_dir)"
+ echo 'PATH=$(bin_dir):$$PATH' > ~/.environment.d/$(bin_file_name)
diff --git a/debian/control b/debian/control
index 6a1a8ae..049c23c 100644
--- a/debian/control
+++ b/debian/control
@@ -37,7 +37,6 @@ Build-Depends:
msmtp,
neomutt,
notmuch-mutt,
- stow,
Standards-Version: 4.5.1
Rules-Requires-Root: no
nihil fit ex nihilo