1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

Music now work after installation

This commit is contained in:
Alexandre Moine 2015-09-12 12:16:00 +02:00
parent 9f6bc4ea37
commit ddec675e3d

View File

@ -1,7 +1,7 @@
# Hyperrogue binairy rules
bin_PROGRAMS = hyperrogue
hyperroguedir = $(datadir)/hyperrogue
dist_hyperrogue_DATA = hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_hyperrogue_DATA = music/hyperrogue-music.txt DejaVuSans-Bold.ttf
dist_doc_DATA = README.md
hyperrogue_SOURCES = hyper.cpp
@ -12,6 +12,10 @@ hyperrogue_CPPFLAGS = -DFONTDESTDIR=\"$(pkgdatadir)/DejaVuSans-Bold.ttf\" -DMUSI
musicdir=$(datadir)/hyperrogue/music
dist_music_DATA = music/hr3-caves.ogg music/hr3-desert.ogg music/hr3-hell.ogg music/hr3-jungle.ogg music/hr3-mirror.ogg music/hr3-rlyeh.ogg music/hr3-crossroads.ogg music/hr3-graveyard.ogg music/hr3-icyland.ogg music/hr3-laboratory.ogg music/hr3-motion.ogg
music/hyperrogue-music.txt: hyperrogue
cp hyperrogue-music.txt music/hyperrogue-music.txt
sed -i 's+music+$(pkgdatadir)/music+g' music/hyperrogue-music.txt
# Langen binary rules
noinst_PROGRAMS = langen
langen_SOURCES = langen.cpp
@ -23,6 +27,7 @@ language-data.cpp: langen
# Local clean rules
clean-local:
rm -rf language-data.cpp
rm -rf music/hyperrogue-music.txt
# First target made
BUILT_SOURCES = language-data.cpp graph.cpp