I would do something like this:
diff --git a/Makefile b/Makefile
index 76d8a5f4a..d8467dee5 100644
--- a/Makefile
+++ b/Makefile
@@ -138,13 +138,16 @@ depend :
doc :
$(MAKE) -C compiler -f $(MAKEFILE) doc
-doclib :
+./libraries:
+ git submodule update --init
+
+doclib : ./libraries
./libraries/generateDoc
man :
pandoc --standalone --to man compiler/README.md -o faust.1
-install :
+install : ./libraries
# install faust itself
mkdir -p $(prefix)/bin/
mkdir -p $(prefix)/lib/
On Sat, Dec 16, 2017 at 4:47 PM, Yann Orlarey <orla...@grame.fr> wrote:
> Yes, I think this would be a good idea. Has anyone on the ml ever done
> anything similar?
>
> -------------------------
>
> Yann Orlarey
> Directeur scientifique
> www.grame.fr
>
>
>
> 2017-12-16 16:01 GMT-08:00 Julius Smith <j...@ccrma.stanford.edu>:
>
>> Ah ok, thanks. Maybe there should be a dependency in the Makefile that
>> does a "git submodule update --init" when the directory isn't there? I
>> instead went to the main repo and kept reading until I found the URL for
>> the libraries and cloned it separately in parallel.
>>
>> On Sat, Dec 16, 2017 at 2:55 PM, Yann Orlarey <orla...@grame.fr> wrote:
>> >
>> > Hi Julius,
>> >
>> > The libraries are still part of the faust distribution and it is the
>> Makefile of faust that installs and uninstalls them in
>> /usr/local/share/faust/.
>> >
>> > But for that to work you need first to do:
>> >
>> > cd faust
>> > git submodule update --init
>> >
>> >
>> > in order to populate the faust/libraries folder the first time. Inside
>> that folder, you can do the usual git command in relation with the
>> faustlibraries repository on github.
>> >
>> >
>> > I hope that clarifies the procedure. Let me know if you still have
>> problems.
>> >
>> > Cheers
>> >
>> > Yann
>> >
>> >
>> > -------------------------
>> >
>> > Yann Orlarey
>> > Directeur scientifique
>> > www.grame.fr
>> >
>> >
>> >
>> > 2017-12-16 13:08 GMT-08:00 Julius Smith <j...@ccrma.stanford.edu>:
>> >>
>> >> Splitting out the libraries from the main release is nice - however, I
>> >> see that "make uninstall" removes /usr/local/share/faust/, which is
>> >> where the libraries are installed.
>> >>
>> >> Also, the faustlibraries project presently has no make file at all.
>> >>
>> >> I hear there is a transition to CMake in progress, so maybe this will
>> >> all be resolved when that is done.
>> >>
>> >> --
>> >> Julius O. Smith III <j...@ccrma.stanford.edu>
>> >> Professor of Music and, by courtesy, Electrical Engineering
>> >> CCRMA, Stanford University
>> >> http://ccrma.stanford.edu/~jos/
>> >>
>> >> ------------------------------------------------------------
>> ------------------
>> >> Check out the vibrant tech community on one of the world's most
>> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> >> _______________________________________________
>> >> Faudiostream-devel mailing list
>> >> Faudiostream-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
>> >
>> >
>> >
>> > ------------------------------------------------------------
>> ------------------
>> > Check out the vibrant tech community on one of the world's most
>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> > _______________________________________________
>> > Faudiostream-devel mailing list
>> > Faudiostream-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/faudiostream-devel
>> >
>>
>>
>>
>> --
>>
>> Julius O. Smith III <j...@ccrma.stanford.edu>
>> Professor of Music and, by courtesy, Electrical Engineering
>> CCRMA, Stanford University
>> http://ccrma.stanford.edu/~jos/
>>
>
>
--
Julius O. Smith III <j...@ccrma.stanford.edu>
Professor of Music and, by courtesy, Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/ <http://ccrma.stanford.edu/>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel