]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
create_tarballs.sh: Use root Makefile.inc v1.0.1
authorCameron Katri <me@cameronkatri.com>
Sat, 15 May 2021 20:19:43 +0000 (16:19 -0400)
committerCameron Katri <me@cameronkatri.com>
Sat, 15 May 2021 20:19:43 +0000 (16:19 -0400)
create_tarballs.sh

index fddacdb8ea474883c61a832ce4c679595615313b..b14d267477f35989b119c04bbd6c5be84315675d 100755 (executable)
@@ -24,6 +24,10 @@ for i in adv_cmds basic_cmds bootstrap_cmds \
        num=$((num+1))
        printf "(%i) %s\n" "$num" "$i"
        cp setup.sh $i/setup.sh
+       cp $i/Makefile.inc $i.Makefile.inc
+       sed -i '' -e /\.\.\\/Makefile\.inc/d $i/Makefile.inc
+       cat Makefile.inc >> $i/Makefile.inc
        ${TAR} -s ${REGEX} -caf ${i}-${VERSION}.tar.zst $i ${EXTRA_PATHS}
+       mv $i.Makefile.inc $i/Makefile.inc
        rm $i/setup.sh
 done