~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to kmidi/config/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#       $Id: Makefile.am,v 1.11 2000/07/08 03:03:20 greglee Exp $
 
2
 
 
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)
 
4
 
 
5
TIMID_DIR = $(kde_datadir)/kmidi/config
 
6
 
 
7
EXTRA_DIST = $(CONFIG_FILES)
 
8
 
 
9
SUBDIRS = patch
 
10
 
 
11
install-data-local:
 
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) ; \
 
17
          fi ; \
 
18
        done
 
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 ) ; \
 
22
        fi
 
23
 
 
24
uninstall-local:
 
25
        for i in $(CONFIG_FILES); do \
 
26
          rm -f $(TIMID_DIR)/$$i ; \
 
27
        done
 
28