~ubuntu-branches/ubuntu/dapper/ecasound2.2/dapper

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2005-04-14 09:15:48 UTC
  • Revision ID: james.westby@ubuntu.com-20050414091548-o7kgb47z0tcunh0s
Tags: upstream-2.4.1
ImportĀ upstreamĀ versionĀ 2.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
EXTRA_DIST = AUTHORS BUGS COPYING.GPL COPYING.LGPL NEWS TODO ecasoundrc.in ecasound.spec effect_presets generic_oscillators
 
2
 
 
3
if ECA_AM_SYSTEM_READLINE
 
4
SUBDIRS = kvutils libecasound ecasound libecasoundc pyecasound rubyecasound ecatools Documentation examples
 
5
else
 
6
SUBDIRS = kvutils readline-4.0 libecasound ecasound libecasoundc pyecasound rubyecasound ecatools Documentation examples
 
7
endif
 
8
AUTOMAKE_OPTIONS = foreign
 
9
 
 
10
PACKAGE = @PACKAGE@
 
11
VERSION = @VERSION@
 
12
RELEASE = 1
 
13
 
 
14
install-data-local: ecasoundrc
 
15
        $(INSTALL) -d $(DESTDIR)$(pkgdatadir)
 
16
        $(INSTALL_DATA) $(top_builddir)/ecasoundrc $(DESTDIR)$(pkgdatadir)/ecasoundrc
 
17
        $(INSTALL_DATA) $(top_srcdir)/effect_presets $(DESTDIR)$(pkgdatadir)/effect_presets
 
18
        $(INSTALL_DATA) $(top_srcdir)/ecatools/ecasound.el $(DESTDIR)$(pkgdatadir)/ecasound.el
 
19
        $(INSTALL_DATA) $(top_srcdir)/generic_oscillators $(DESTDIR)$(pkgdatadir)/generic_oscillators
 
20
 
 
21
uninstall-local:
 
22
        rm -f   $(DESTDIR)$(pkgdatadir)/effect_presets \
 
23
                $(DESTDIR)$(pkgdatadir)/ecasound.el \
 
24
                $(DESTDIR)$(pkgdatadir)/generic_oscillators \
 
25
                $(DESTDIR)$(pkgdatadir)/ecasoundrc
 
26
        rmdir --ignore-fail-on-non-empty $(DESTDIR)$(pkgdatadir)
 
27
 
 
28
ecasoundrc: ecasoundrc.in Makefile.am
 
29
        sed -e "s%[@]VERSION[@]%$(VERSION)%" \
 
30
            -e "s%[@]prefix[@]%$(prefix)%" \
 
31
            -e "s%[@]pkgdatadir[@]%$(pkgdatadir)%" \
 
32
            < $(top_srcdir)/ecasoundrc.in > ecasoundrc 
 
33
 
 
34
clean-local:
 
35
        rm -fv ecasoundrc