aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-02-25 10:36:43 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2021-03-05 16:34:52 -0500
commitc4089574242a027db1655f0ee15eac9953fe9993 (patch)
treec7576090a317f5cb915c4a6407393ca458d4ec4b /makefile
parentexternal & build dependences in src tree (diff)
cleaning
Diffstat (limited to 'makefile')
-rw-r--r--makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/makefile b/makefile
index 77c2659..d3c2049 100644
--- a/makefile
+++ b/makefile
@@ -100,6 +100,7 @@ get_depends:
hwd=$$(echo `pwd`) && \
gwd="$${hwd}/src/ext_depends" && \
dirs=$$(echo `ls -gx $${gwd}`) && \
+ license_bsl="Boost Software License 1.0 (BSL-1.0)" && \
echo $${hwd} && \
echo $${gwd} && \
echo $${dirs} && \
@@ -113,7 +114,9 @@ get_depends:
git clone --depth=1 https://github.com/tjhann/$${dir} && \
cd $${dir} && \
echo $$PWD && \
- echo "`git rev-parse HEAD | cut -c 1-8` - $${dir}" > ../shaHEADdep_$${dir} && \
+ echo "$${dir} `git rev-parse HEAD | cut -c 1-8`" > ../$${dir}.meta && \
+ echo "https://github.com/tjhann/$${dir}" >> ../$${dir}.meta && \
+ echo "$${license_bsl}" >> ../$${dir}.meta && \
cd $${gwd} && \
rm -rf $${dir}/.git; \
elif [[ "d2sqlite3" == $${dir} || "D-YAML" == $${dir} || "tinyendian" == $${dir} ]]; then \
@@ -121,7 +124,9 @@ get_depends:
rm -rf $${dir} && \
git clone --depth=1 https://github.com/dlang-community/$${dir} && \
cd $${dir} && \
- echo "`git rev-parse HEAD | cut -c 1-8` - $${dir}" > ../shaHEADdep_$${dir} && \
+ echo "$${dir} `git rev-parse HEAD | cut -c 1-8`" > ../$${dir}.meta && \
+ echo "https://github.com/dlang-community/$${dir}" >> ../$${dir}.meta && \
+ echo "$${license_bsl}" >> ../$${dir}.meta && \
cd $${gwd} && \
rm -rf $${dir}/.git; \
fi; \
@@ -138,16 +143,15 @@ get_depends:
rm -rf $${dir} && \
git clone --depth=1 https://github.com/lionello/$${dir} && \
cd $${dir} && \
- echo "`git rev-parse HEAD | cut -c 1-8` - $${dir}" > ../shaHEADdep_$${dir} && \
+ echo "$${dir} `git rev-parse HEAD | cut -c 1-8`" > ../$${dir}.meta && \
+ echo "https://github.com/lionello/$${dir}" >> ../$${dir}.meta && \
+ echo "MIT License" >> ../$${dir}.meta && \
cd $${ewd} && \
rm -rf $${dir}/.git; \
fi; \
fi; \
done; \
cd $${hwd}
-set_depends: get_depends
- cp -vi src/ext_depends/tinyendian/source/tinyendian.d src/ext_depends/D-YAML/source/dyaml/tinyendian.d && \
- echo "`cat src/ext_depends/shaHEADdep_tinyendian` - dyaml/tinyendian.d" >> src/ext_depends/shaHEADdep_D-YAML
dub_upgrade:
$(DUB) upgrade
default: ldc