UPDATE: A little safer make target in case a step fails: updatefaustmasterdev: git rm -r faustmasterdev /bin/rm -rf faustmasterdev git clone https://github.com/grame-cncm/faust.git faustmasterdev cd faustmasterdev git submodule update --init cd .. /bin/rm -r faustmasterdev/.git /bin/rm -r faustmasterdev/libraries/.git git add faustmasterdev
[remember to change the leading spaces to tabs]. Remarks: * Why not simply depend on the latest Faust release? That's of course what most people/distributions do. I cannot as easily do that because often my development splits into generally useful updates for the Faust libraries and more specific stuff for the project that depends on Faust. To use the latest release, I would have to patch it with my new stuff, and remove those patches later, which is significantly more complicated than snapshotting faust/master-dev as above. * The initial "git rm -r" should make no difference when the git index is already empty, which would normally be the case. * That said, my jui-git-su level is low, so I expect my solution above can be improved. On Sat, Mar 30, 2019 at 2:18 PM Julius Smith <j...@ccrma.stanford.edu> wrote: > > If you think that's complex, you should see my previous shell-script > solution. :-) > > Simpler make target welcome! > > Thanks, > - Julius > > On Sat, Mar 30, 2019 at 2:17 PM Stéphane Letz <l...@grame.fr> wrote: > > > > I still don’t understand why t has to be so complex ((-; > > > > Stéphane > > > > > Le 30 mars 2019 à 22:02, Julius Smith <j...@ccrma.stanford.edu> a écrit : > > > > > > I need to maintain a source snapshot of the Faust compiler that builds > > > along with everything else in a dependent project. To get around > > > problems I was having with cmake derived files, I settled on the > > > following "make target" for now. Please let me know if you see > > > anything wrong with it, and otherwise enjoy it if you need it also in > > > any of your projects. :-) > > > > > > updatefaustmasterdev: > > > git rm -r faustmasterdev > > > /bin/rm -rf faustmasterdev > > > git clone https://github.com/grame-cncm/faust.git faustmasterdev > > > cd faustmasterdev > > > git submodule update --init > > > /bin/rm -rf .git > > > cd libraries > > > /bin/rm -rf .git > > > cd ../.. > > > git add faustmasterdev > > > > > > -- > > > Julius O. Smith III <j...@ccrma.stanford.edu> > > > Professor of Music and, by courtesy, Electrical Engineering > > > CCRMA, Stanford University > > > http://ccrma.stanford.edu/~jos/ > > > > > > > > > _______________________________________________ > > > 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/ _______________________________________________ Faudiostream-devel mailing list Faudiostream-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-devel