make_dist.sh: Fix the inclusion of release-readme.txt and allow game-dirs to pack their own info texts.
This commit is contained in:
parent
855daac7e7
commit
fe84c317e2
|
@ -19,7 +19,7 @@ Make sure you're running the latest version of FTEQW.
|
||||||
If your entire engine/binary crashes to desktop or whatever, it's an FTE bug.
|
If your entire engine/binary crashes to desktop or whatever, it's an FTE bug.
|
||||||
Contact #fte at irc.quakenet.org
|
Contact #fte at irc.quakenet.org
|
||||||
|
|
||||||
If you crash to console, contact #freecs at irc.libera.chat
|
If you crash to console, contact #nuclide at irc.libera.chat
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
=======================================
|
=======================================
|
||||||
|
|
|
@ -48,6 +48,11 @@ find ./$GAME_DIR -name *.pk3dir | xargs -I @ sh -c 'echo `basename "@"`' | while
|
||||||
mv "./$GAME_DIR/$PK3DIR/$PK3NAME.pk3" "./$BUILD_DIR/$GAME_DIR/$PK3NAME.pk3"
|
mv "./$GAME_DIR/$PK3DIR/$PK3NAME.pk3" "./$BUILD_DIR/$GAME_DIR/$PK3NAME.pk3"
|
||||||
done;
|
done;
|
||||||
|
|
||||||
|
# copy plain text files included within the game-dir
|
||||||
|
find ./$GAME_DIR -name '*.txt' | xargs -I @ sh -c 'echo `basename "@"`' | while read TEXTNAME; do
|
||||||
|
cp "./$GAME_DIR/$TEXTNAME" "./$BUILD_DIR/$GAME_DIR/$TEXTNAME"
|
||||||
|
done;
|
||||||
|
|
||||||
# copy over the shell scripts inside the game-dir
|
# copy over the shell scripts inside the game-dir
|
||||||
find ./$GAME_DIR -name 'install_*.sh' | xargs -I @ sh -c 'echo `basename "@"`' | while read SCRIPTNAME; do
|
find ./$GAME_DIR -name 'install_*.sh' | xargs -I @ sh -c 'echo `basename "@"`' | while read SCRIPTNAME; do
|
||||||
cp "./$GAME_DIR/$SCRIPTNAME" "./$BUILD_DIR/$GAME_DIR/$SCRIPTNAME"
|
cp "./$GAME_DIR/$SCRIPTNAME" "./$BUILD_DIR/$GAME_DIR/$SCRIPTNAME"
|
||||||
|
@ -89,7 +94,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s|base|$GAME_DIR|g" ./$BUILD_DIR/default.fmf
|
sed -i "s|base|$GAME_DIR|g" ./$BUILD_DIR/default.fmf
|
||||||
cp ./doc/release-readme ./$BUILD_DIR/README.txt
|
cp ./Documentation/release-readme.txt ./$BUILD_DIR/README.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tree ./$BUILD_DIR
|
tree ./$BUILD_DIR
|
||||||
|
|
Loading…
Reference in New Issue