1
# $Id: Makefile.am,v 1.11 2000/07/08 03:03:20 greglee Exp $
3
CONFIG_FILES = gravis.cfg gsdrum.cfg midia.cfg mt32.cfg timidity.cfg wowpats.cfg chaos12-voices chaos8-voices megadrum megainst pila-voices sound-canvas-drums guitar piano piano+guitar drums $(TCLFILES)
5
TIMID_DIR = $(kde_datadir)/kmidi/config
7
EXTRA_DIST = $(CONFIG_FILES)
12
$(mkinstalldirs) $(TIMID_DIR)
13
@for i in $(CONFIG_FILES); do \
14
if [ ! -f "$(TIMID_DIR)/$$i" ] ; then \
15
echo "$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(TIMID_DIR)"; \
16
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(TIMID_DIR) ; \
19
if [ ! -f "$(TIMID_DIR)/tclIndex" -a -f "$(TIMID_DIR)/misc.tcl" ] ; then \
20
(cd $(TIMID_DIR); sed -e s@%TCL_DIR%@$(TIMID_DIR)@g $(srcdir)/tkmidity.ptcl > tkmidity.tcl ) ; \
21
(cd $(TIMID_DIR); echo 'auto_mkindex . *.tcl; exit' | tclsh ) ; \
25
for i in $(CONFIG_FILES); do \
26
rm -f $(TIMID_DIR)/$$i ; \