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