mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-25 10:34:08 +00:00
update copy.sh to use Makefile.simple
This commit is contained in:
parent
a8691f0d8e
commit
c114ea1b1d
@ -7,12 +7,12 @@ mkdir -p app/src/main/res/raw/
|
|||||||
#do cp ../music/hr3-$x.ogg app/src/main/res/raw/$x.ogg
|
#do cp ../music/hr3-$x.ogg app/src/main/res/raw/$x.ogg
|
||||||
#done
|
#done
|
||||||
|
|
||||||
# make sure that language-data.cpp is generated
|
# make sure autohdr.h is generated
|
||||||
if [ ! -f ../language-data.cpp ]; then
|
# language-data.cpp is a make dependency of autohdr.h, so it's generated as well
|
||||||
echo "File language-data.cpp not found! Trying to compile and run langen"
|
if [ ! -f ../autohdr.h ]; then
|
||||||
cd ..
|
echo "generating autohdr.h..."
|
||||||
g++ langen.cpp -o langen
|
pushd ..
|
||||||
./langen > language-data.cpp
|
make -f Makefile.simple autohdr.h
|
||||||
ls -l langen language-data.cpp
|
popd
|
||||||
cd hyperroid
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user