aboutsummaryrefslogtreecommitdiff
path: root/externals/debian/rules
diff options
context:
space:
mode:
authorGuenter Geiger <ggeiger@users.sourceforge.net>2003-07-23 08:58:35 +0000
committerGuenter Geiger <ggeiger@users.sourceforge.net>2003-07-23 08:58:35 +0000
commit28cf83a9643aaba7db01cd11137ffcbba4a9a73c (patch)
tree6990a11f5b2d76f75e29194f8d4badd7668e0f5c /externals/debian/rules
parentfc47cb44649ff4c1cd69979cfe841a25b56fd0f4 (diff)
fixed zexy installation
svn path=/trunk/; revision=796
Diffstat (limited to 'externals/debian/rules')
-rwxr-xr-xexternals/debian/rules25
1 files changed, 17 insertions, 8 deletions
diff --git a/externals/debian/rules b/externals/debian/rules
index 8f1d11be..1dc59720 100755
--- a/externals/debian/rules
+++ b/externals/debian/rules
@@ -31,6 +31,11 @@ configure-stamp:
build: build-stamp
+FOOBUILD = PD_DIR=../../build/include \
+ FLEXTPATH=../../grill/flext/pd-linux \
+ FLEXTINC=../../grill/flext/source \
+ FLUIDLIB=" -lfluidsynth"
+
build-stamp: configure-stamp
dh_testdir
@@ -49,12 +54,11 @@ build-stamp: configure-stamp
# Flext externals
#
-
- -(cd footils; make PD_DIR=../../build/include \
- FLEXTPATH=../../grill/flext/pd-linux \
- FLEXTINC=../../grill/flext/source \
- FLUIDLIB=" -lfluidsynth")
+ (make -C footils/fluid -k $(FOOBUILD))
+ (make -C footils/shabby -k $(FOOBUILD))
+ (make -C footils/syncgrain -k $(FOOBUILD))
+
# OSC
(cd OSCx/libOSC;$(MAKE))
@@ -117,6 +121,10 @@ clean:
dh_clean
+FOOINSTALL = FLEXTPATH=../../grill/flext/pd-linux \
+ FLEXTINC=../../grill/flext/source \
+ DESTDIR=$(CURDIR)/debian/tmp INSTPATH=$(CURDIR)/debian/tmp/usr/lib/pd/extra
+
install: build
dh_testdir
dh_testroot
@@ -130,13 +138,14 @@ install: build
(cd zexy/src; $(MAKE) -f makefile.linux install DESTDIR=$(CURDIR)/debian/tmp \
INSTALL_PREFIX=/usr/ \
PDLIBDIR=lib/pd )
+ ln -s zexy $(CURDIR)/debian/tmp/usr/lib/pd/doc/5.reference/help-zexy
(cd grill/flext; $(MAKE) -f makefile.pd-linux install INSTDIR=$(CURDIR)/debian/tmp/usr/lib/pd/flext)
# Install footils ... this is quite messy still, have to find a better solution
- -(cd footils; make -k FLEXTPATH=../../grill/flext/pd-linux \
- FLEXTINC=../../grill/flext/source \
- DESTDIR=$(CURDIR)/debian/tmp INSTPATH=$(CURDIR)/debian/tmp/usr/lib/pd/extra install)
+ (make -C footils/fluid -k $(FOOINSTALL) install)
+ (make -C footils/shabby -k $(FOOINSTALL) install)
+ (make -C footils/syncgrain -k $(FOOINSTALL) install)
install -m 644 footils/fluid/pd/fluid.pd $(CURDIR)/debian/tmp/usr/lib/pd/doc/5.reference/help-fluid.pd
install -m 644 footils/shabby/shaffy~-help.pd $(CURDIR)/debian/tmp/usr/lib/pd/doc/5.reference/help-shaffy~.pd
install -m 644 footils/shabby/shabby~.pd_linux $(CURDIR)/debian/tmp/usr/lib/pd/doc/5.reference/help-shabby~.pd