summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-12-07 18:09:16 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-12-07 18:09:16 -0500
commit778089acfca9659fa41204fbcf37f94f2c8cff96 (patch)
treec76984df12d3cefb1b82a0e1590b0af34190a2cf /examples
parent81c90437a69d7657a718d68dbb742a248fcabcfb (diff)
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am9
1 files changed, 3 insertions, 6 deletions
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 @@
## <http://www.gnu.org/licenses/>.
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 \