aboutsummaryrefslogtreecommitdiff
path: root/chuck/Makefile.am
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-28 21:56:36 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-09-28 21:56:36 +0200
commit4da30b1131a569109940d64d8f0e51152b17dc75 (patch)
tree9f74a16aa4ab871ae1e851ebb94c145d1bffc818 /chuck/Makefile.am
parentee92a56a930bb4e3398723055ac67803b8eb62da (diff)
downloadosc-graphics-4da30b1131a569109940d64d8f0e51152b17dc75.tar.gz
ensure that chuck wrapper's lib.ck contains the installation path
a custom Makefile rule must be used since the *dir output variables are not fully expanded
Diffstat (limited to 'chuck/Makefile.am')
-rw-r--r--chuck/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/chuck/Makefile.am b/chuck/Makefile.am
index 69c805f..867a89c 100644
--- a/chuck/Makefile.am
+++ b/chuck/Makefile.am
@@ -2,3 +2,9 @@
dist_chuck_DATA = OSCGraphics.ck OSCGraphicsPort.ck OSCGraphicsLayer.ck \
OSCGraphicsBox.ck OSCGraphicsImage.ck OSCGraphicsVideo.ck
nodist_chuck_DATA = lib.ck
+
+CLEANFILES = lib.ck
+EXTRA_DIST = lib.ck.in
+
+lib.ck : lib.ck.in
+ @SED@ 's|@chuckdir[@]|$(chuckdir)|g' $< >$@