aboutsummaryrefslogtreecommitdiff
path: root/examples/puredata/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'examples/puredata/Makefile.am')
-rw-r--r--examples/puredata/Makefile.am12
1 files changed, 5 insertions, 7 deletions
diff --git a/examples/puredata/Makefile.am b/examples/puredata/Makefile.am
index f3eb08e..c45fc32 100644
--- a/examples/puredata/Makefile.am
+++ b/examples/puredata/Makefile.am
@@ -8,14 +8,9 @@ pdinstalldir = $(pddir)/extra
pdinstallrefdir = $(pddir)/doc/5.reference
pdinstallexpdir = $(pddir)/doc/xtract
-# Automake won't accept something ending in ".pd_linux" as a library
-pdinstall_PROGRAMS = xtract~.@PD_SUFFIX@
+pdinstall_PROGRAMS = xtract.@PD_SUFFIX@
-if BUILD_PD_EXAMPLE
-xtract_pd_linux_SOURCES = xtract~.c
-else
-xtract_pd_linux_SOURCES =
-endif
+xtract_@PD_SUFFIX@_SOURCES = xtract~.c
pdincludedir = $(pddir)/src
@@ -31,6 +26,9 @@ AM_LDFLAGS = @PD_LDFLAGS@ -lxtract
## Install the documentation.
+install:
+ -mv xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@
+
#pdinstallref_DATA = \
# help/aubioonset-help.pd \
# help/aubioquiet-help.pd \