diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 16 | 
1 files changed, 10 insertions, 6 deletions
| @@ -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 | 
