configure: added install of sounds in .../games/xboard/sounds/default
[xboard.git] / Makefile.am
index aa2cadb..3b5c18c 100644 (file)
@@ -33,7 +33,7 @@ xboard_SOURCES = backend.c backend.h backendz.h \
                 $(ZPY)
 xboard_LDADD = -lm @XAW_LIBS@ @X_LIBS@
 
-EXTRA_DIST = pixmaps bitmaps winboard sounds filebrowser/README \
+EXTRA_DIST = pixmaps bitmaps sounds winboard filebrowser/README \
        xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop \
        COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm zippy.README \
        xboard.conf.in SHORTLOG DIFFSTAT history.c
@@ -66,15 +66,28 @@ Applicationsdir = $(datadir)/applications
 Applications_DATA = xboard.desktop
 
 
-### directory and files to be used as bitmaps
+### directory and files for pixmaps
 
-bitmapdir = $(datadir)/games/xboard/
-dist_bitmap_DATA = pixmaps/wood_d.xpm pixmaps/wood_l.xpm
+pixmapsdir = $(datadir)/games/xboard/pixmaps/default
+dist_pixmaps_DATA = pixmaps/wood_d.xpm pixmaps/wood_l.xpm
+
+
+### directory and files for sound files
+
+soundsdir = $(datadir)/games/xboard/sounds/default
+dist_sounds_DATA = \
+  sounds/alarm.wav      sounds/cymbal.wav    sounds/kibitz.wav   sounds/pop2.wav     sounds/slap.wav    sounds/unfinished.wav \
+  sounds/challenge.wav  sounds/ding1.wav     sounds/laser.wav    sounds/pop.wav      sounds/squeak.wav  sounds/whipcrak.wav \
+  sounds/channel1.wav   sounds/draw.wav      sounds/lose.wav     sounds/README       sounds/sshout.wav  sounds/win.wav \
+  sounds/channel.wav    sounds/drip.wav      sounds/move.wav     sounds/request.wav  sounds/swish.wav   sounds/woodthunk.wav \
+  sounds/ching.wav      sounds/gong.wav      sounds/penalty.wav  sounds/seek.wav     sounds/tell.wav \
+  sounds/click.wav      sounds/honkhonk.wav  sounds/phone.wav    sounds/shout.wav    sounds/thud.wav
 
 
 ### set correct dir in xboard.conf
 
-edit = sed -e 's|@bitmapdir[@]|$(bitmapdir)|g'
+edit = sed -e 's|@pixmapsdir[@]|$(pixmapsdir)|g' \
+           -e 's|@soundsdir[@]|$(soundsdir)|g'
 
 xboard.conf: Makefile $(srcdir)/xboard.conf.in
        @echo '  'GEN '  ' $@;