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
2 changed files with 7 additions and 2 deletions
|
@ -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.
|
||||
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
|
||||
=======================================
|
||||
|
|
|
@ -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"
|
||||
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
|
||||
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"
|
||||
|
@ -89,7 +94,7 @@ else
|
|||
fi
|
||||
|
||||
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
|
||||
|
||||
tree ./$BUILD_DIR
|
||||
|
|
Loading…
Reference in a new issue