From ef20e24cf9e3765271d1c8363eff5057bb7b9cab Mon Sep 17 00:00:00 2001 From: Norayr Chilingarian Date: Wed, 23 Feb 2022 02:27:33 +0400 Subject: [PATCH] test. --- makefile | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/makefile b/makefile index cf66c01..827b3c6 100644 --- a/makefile +++ b/makefile @@ -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 mkdir -p $(mkfile_dir_path)/$(DPS) - cd $$(mkfile_dir_path)/(DPS) - ifneq "$(wildcard Internet )" "" - cd Internet && git pull && cd .. - else - git clone https://github.com/norayr/Internet - 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 + cd $(mkfile_dir_path)/$(DPS) + test ! -d Internet && git clone https://github.com/norayr/Internet + test ! -d lists && git clone https://github.com/norayr/lists + test ! -d opts && git clone https://github.com/norayr/opts + test ! -d time && git clone https://github.com/norayr/time tests: mkdir -p $(mkfile_dir_path)/$(BLD)