aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2022-02-25 16:29:41 -0800
committerRaul Benencia <rul@kalgan.cc>2022-02-25 16:29:41 -0800
commitdeab59cccf1f79f68e5e1ef11f39da9e29dfb45f (patch)
treed8becec8c14e7ffe6a03406af37adc934f918b1c
parent038d85fd351d6065417f3472b5f02882fc1522f2 (diff)
switch to stow
-rw-r--r--Makefile11
-rw-r--r--debian/control1
2 files changed, 3 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index c3acfee..7e00cd4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,3 @@
-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:
- $(bin_dir)/pycombine -e '(Makefile|bin|README.md|debian)' "$(HOME)" "$(repo_dir)"
- echo 'PATH=$(bin_dir):$$PATH' > ~/.environment.d/$(bin_file_name)
+ # Combine files with public dotfiles
+ stow --verbose --no-folding --target=$$HOME .
diff --git a/debian/control b/debian/control
index f980de6..0a22472 100644
--- a/debian/control
+++ b/debian/control
@@ -36,6 +36,7 @@ Build-Depends:
msmtp,
neomutt,
notmuch-mutt,
+ stow,
Standards-Version: 4.5.1
Rules-Requires-Root: no
nihil fit ex nihilo