-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-08-20 23:31, Nicolas Montgermont wrote:
how can I do that? running make install DESTDIR=/Users/nix/Library/Pd/ creates me: /Users/nix/Library/Pd/usr/local/lib[...]
yes, that's right, use "libdir" (i know it's nowhere documented).
the following should install into /Users/nix/Library/Pd/Gem (and /Users/nix/Library/Pd/pix_mano,....):
$ make install libdir=/Users/nix/Library/Pd/
it will probably still give you an error, as it will try to install some dev-files (headers, pkgconfig) into /usr/local/ and might not have the appropriate permissions. you can either ignore that (add the "-k" flag to make), or use something like $ DEST=/Users/nix/Library/Pd/ $ make install libdir=${DEST} prefix=${DEST}/Gem/stuff
which will put all the additional stuff into /Users/nix/Library/Pd/Gem/stuff.
the reason why this is so complicated is, that the so produced binaries are not well distributable anyhow (at least if you want to make sure that the various plugins work for people who don't want to install a large number of packages).
my way (iirc, it's been a long time) to create the "installer" packages for OSX systems is something like: $ [...] $ make install DESTDIR=/tmp/foo $ mkdir /tmp/Gem $ cp -rav /tmp/foo/usr/local/lib/pd/extra/Gem/* /tmp/Gem/ $ cp -rav /tmp/foo/usr/local/include/Gem /tmp/Gem/ $ cp ${ALL_DEPENDENCIES} /tmp/Gem/ $ for i in /tmp/Gem/*.so; do script-to-make-deps-local ${i}; done $ ./build/osx-dmginstaller/buildinstaller.sh /tmp/Gem/
fgmsdar IOhannes