From 3589f3e66769e87831e9f31fb3493064dd3ce73e Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Sun, 24 May 2020 13:23:20 -0700 Subject: Pave the way for bin/ in this repo --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d23de90 --- /dev/null +++ b/Makefile @@ -0,0 +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: + $(bin_dir)/pycombine -e '(Makefile|bin|README.md)' "$(HOME)" "$(repo_dir)" + echo 'PATH=$(bin_dir):$$PATH' > ~/.environment.d/$(bin_file_name) -- cgit v1.2.3