Browse files

include skyboxes for make install (ugly workaround for issue #60 )

  • Loading branch information...
1 parent fe00a3b commit d49538c2334e752b461e59d3ab7efda4c39f154f FrMo committed Apr 30, 2012
Showing with 9 additions and 3 deletions.
  1. +9 −3 Makefile.am
View
12 Makefile.am
@@ -3,16 +3,22 @@ sysconfdir=@sysconfdir@/gravit
datadir=@datadir@/gravit
# path to ttf,png,etc
miscdir=@datadir@/gravit/data
+# path to skyboxes
+# ugly workaround: need one ...dir and one ..._DATA for each skybox
+skybox1dir=@datadir@/gravit/data/skybox
+skybox2dir=@datadir@/gravit/data/skybox/purplenebula
# path to .gravitspawn files
spawndir=@datadir@/gravit/spawn
-misc_DATA =$(shell echo data/*)
+sysconf_DATA = cfg/gravit.cfg cfg/screensaver.cfg
+misc_DATA =$(shell echo data/*.??*)
+skybox1_DATA =$(shell echo data/skybox/*.??*)
+skybox2_DATA =$(shell echo data/skybox/purplenebula/*.??*)
spawn_DATA =$(shell echo spawn/*)
bin_PROGRAMS=gravit
gravit_SOURCES=src/color.c src/command.c src/command.h src/config.c src/console.c src/font.c src/font.h src/fps.c src/frame-ot.c src/frame-pp.c src/frame-pp_sse.c src/frame.c src/gfx.c src/gravit.h src/input.c src/main.c src/osd.c src/sdlk.h src/spawn.c src/texture.c src/timer.c src/tool.c src/png_save.c
-EXTRA_DIST=README COPYING cfg/gravit.cfg demo.cfg cfg/screensaver.cfg ChangeLog Makefile.old $(misc_DATA) $(spawn_DATA)
-sysconf_DATA = cfg/gravit.cfg cfg/screensaver.cfg
+EXTRA_DIST=README COPYING cfg/gravit.cfg demo.cfg cfg/screensaver.cfg ChangeLog Makefile.old $(misc_DATA) $(spawn_DATA) $(skybox1_DATA) $(skybox2_DATA)
EXTRA_gravit_SOURCES=
gravit_LDADD=

0 comments on commit d49538c

Please sign in to comment.