From 778089acfca9659fa41204fbcf37f94f2c8cff96 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 7 Dec 2014 18:09:16 -0500 Subject: examples: Fix Makefile. * examples/Makefile.am (examples_DATA, imagedir, image_DATA): Delete. (nobase_dist_examples_DATA): New variable that preserves directory structure when 'make install' is run. --- examples/Makefile.am | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/Makefile.am b/examples/Makefile.am index 46c9106..7621f97 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -16,23 +16,20 @@ ## . examplesdir = $(pkgdatadir)/examples -examples_DATA = \ +nobase_dist_examples_DATA = \ animation.scm \ common.scm \ font.scm \ joystick.scm \ simple.scm \ tilemap.scm \ - 2048/2048.scm \ - mines/mines.scm - -imagedir = $(pkgdatadir)/examples/images -image_DATA = \ + mines/mines.scm \ images/bullet.png \ images/p1_front.png \ images/princess.png \ images/stars.png \ images/tiles.png \ + 2048/2048.scm \ 2048/tile.png \ mines/images/1-mine.png \ mines/images/2-mines.png \ -- cgit v1.2.3