blob: d23de90078d8ffc1eb83a83a9af99d8125951794 (
plain)
1
2
3
4
5
6
7
8
9
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)
|