This commit is contained in:
Norayr Chilingarian 2022-02-23 02:27:33 +04:00
parent 85b5c0a00f
commit ef20e24cf9

View file

@ -43,27 +43,11 @@ all: deps
deps: $(mkfile_dir_path)/$(DPS)/Internet $(mkfile_dir_path)/$(DPS)/lists $(mkfile_dir_path)/$(DPS)/opts $(mkfile_dir_path)/$(DPS)/time deps: $(mkfile_dir_path)/$(DPS)/Internet $(mkfile_dir_path)/$(DPS)/lists $(mkfile_dir_path)/$(DPS)/opts $(mkfile_dir_path)/$(DPS)/time
mkdir -p $(mkfile_dir_path)/$(DPS) mkdir -p $(mkfile_dir_path)/$(DPS)
cd $$(mkfile_dir_path)/(DPS) cd $(mkfile_dir_path)/$(DPS)
ifneq "$(wildcard Internet )" "" test ! -d Internet && git clone https://github.com/norayr/Internet
cd Internet && git pull && cd .. test ! -d lists && git clone https://github.com/norayr/lists
else test ! -d opts && git clone https://github.com/norayr/opts
git clone https://github.com/norayr/Internet test ! -d time && git clone https://github.com/norayr/time
endif
ifneq "$(wildcard lists )" ""
cd lists && git pull && cd ..
else
git clone https://github.com/norayr/lists
endif
ifneq "$(wildcard opts )" ""
cd opts && git pull && cd ..
else
git clone https://github.com/norayr/opts
endif
ifneq "$(wildcard time )" ""
cd time && git pull && cd ..
else
git clone https://github.com/norayr/Internet
endif
tests: tests:
mkdir -p $(mkfile_dir_path)/$(BLD) mkdir -p $(mkfile_dir_path)/$(BLD)